Skip to content

Kylamber/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Scheduler

A simple scheduler, CLI based.

Requirements

  • Pandas ( for sorting )
  • TinyDB ( for storing data )
  • win10toast ( for notification )

Scheduler Usage

Run the program in terminal and it will loop every one minute to check if there exist a schedule at that time.

Scheduler Functions

insert

Insert a schedule into the program, you can't input a schedule at the same date and time.
The repeat argument is still in development and has no effect.

insert(title, date, time, end, repeat='no')
# All arguments are STRING.
# date format ddmmyyyy
# time and end format hhmm

remove

Remove a schedule from the database.

remove(date, time)
# All arguments are STRING.
# date and time format is the same.

checktime

Checks if there exist a schedule at current time ( this could be modified to notify e.g 15 minutes before the schedule)

checktime()
# returns if there exist. If it's empty that means there's no schedule.

schedules

List out all the schedules

schedules()
# return a sorted pandas dataframe

About

A simple scheduler, CLI based.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages