tags:

views:

1430

answers:

3

I'm writing code in python for some sort of daemon that has to execute a specific action at a certain instance in time defined by a crontab string. Is there a module I can use? If not, can someone paste/link an algorithm I can use to check whether the instance of time defined by the crontab has occured in the time from when the previous check was done. Thanks.

+2  A: 

sched ftw

THC4k
+1  A: 

Kronos is another option.

Here is a similar SO question.

Philip T.
+1  A: 

You might want to take a look at pycron.

wr