python apscheduler not consistent
问题 I'm running a scheduler using python apscheduler inside web.py framework. The function runserver is supposed to run everyday at 9 a.m but it is inconsistent. It runs most days but skips a day once in a while. Code: import web from apscheduler.schedulers.blocking import BlockingScheduler #Blocking Scheduler #URLs urls = ( '/startscheduler/','index', ) Nightlysched = BlockingScheduler() @Nightlysched.scheduled_job('cron', hour=9) def runserver(): print 2+2 #doing some calculations here #Main