Created
May 4, 2021 11:44
-
-
Save Kakarot-2000/7bae373bc703aa6921144e878919f570 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