Saturday, April 29, 2017

how to run a method background?

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.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ae5ad44c-4263-4327-b084-232c2f569880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment