how to run a method background?

17 views
Skip to first unread message

孙佳利

unread,
Apr 29, 2017, 7:57:42 AM4/29/17
to Django users
Hello all,

I am using apscheduler develop a timer, since the scheduler.state must equals '1' all scheduled jobs which storged in database will be triggered, so I need run scheduler.start() in background and let scheduler.state always equals '1', then all scheduled jobs will be triggered.

So can anyone tell me put scheduler.start() in which file can let it running background?

Am I clearly?

Many thanks for any help.
Reply all
Reply to author
Forward
0 new messages