Created
May 8, 2021 03:23
-
-
Save Kakarot-2000/72f483a9f2a9d209856fcca4f3de7b9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from apscheduler.schedulers.blocking import BlockingScheduler | |
from run import sendMail | |
sched = BlockingScheduler() | |
@sched.scheduled_job('interval', minutes=1) | |
def timed_job(): | |
print('This job is run every one minute.') | |
sendMail() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment