Skip to content

Instantly share code, notes, and snippets.

@milanmaximo
Created September 20, 2017 12:47
Show Gist options
  • Select an option

  • Save milanmaximo/758516ee3c7d402d5e45ffd97e8f4a54 to your computer and use it in GitHub Desktop.

Select an option

Save milanmaximo/758516ee3c7d402d5e45ffd97e8f4a54 to your computer and use it in GitHub Desktop.
Schedule reminder python
import schedule
import time
def job():
print("I'm working...")
schedule.every(10).minutes.do(job)
schedule.every().hour.do(job)
schedule.every().day.at("11:00").do(job)
schedule.every().monday.do(job)
schedule.every().wednesday.at("13:15").do(job)
while True:
schedule.run_pending()
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment