m2o
m2o

Reputation: 6694

crontab in python

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.

Upvotes: 2

Views: 6638

Answers (3)

wr.
wr.

Reputation: 2859

You might want to take a look at pycron.

Upvotes: 0

Philip Tinney
Philip Tinney

Reputation: 2016

Kronos is another option.

Here is a similar SO question.

Upvotes: 1

Jochen Ritzel
Jochen Ritzel

Reputation: 107608

sched ftw

Upvotes: 3

Related Questions