Scheduling in python

L

loial

I want to enable my end users to be able to schedule a task(actually
running another python or shell script). Rather than scheduling it
directly in cron, are there any python modules I could use?
 
T

Thomas Jollans

I want to enable my end users to be able to schedule a task(actually
running another python or shell script). Rather than scheduling it
directly in cron, are there any python modules I could use?

If you have a "master" process running -- it strongly depends on how that
process is structured. Is there a main loop? What does it look like? Is it
provided by some toolkit? Maybe that toolkit has an alarm event?
In the end, there isn't much too it: periodically check if "it's time", and
then possibly do something.
I doubt there's a package to do this. The basics are trivial to implement, and
everything depends strongly on the program structure, which could vary
greatly.
 
P

Paul Rudin

loial said:
I want to enable my end users to be able to schedule a task(actually
running another python or shell script). Rather than scheduling it
directly in cron, are there any python modules I could use?

First hit when googling "python schedule"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top