This file contains 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 helper import your_function_a, your_function_b | |
sched = BlockingScheduler() | |
@sched.scheduled_job('interval', minutes='30') | |
def print_data(): | |
print("Have a good day!") | |
@sched.scheduled_job('cron', day_of_week='sat-sun', hour='8-14', minute='0-59/10', timezone='America/New_York') |