Python and cron jobs.
faizan at jaredweb.com
Tue Aug 5 07:07:25 CEST 2003
Lee Harr <missive at frontiernet.net> wrote in message news:<slrnbitp3n.e5r.missive at localhost.my.domain>...
> In article <7b454334.0308041023.6e688b4d at posting.google.com>, Fazer wrote:
> > Hello,
> > I am wondering that if it is possible to add cron jobs via a web or
> > shell interface? I can make Python act as a shell script and be
> > called by a PHP script. But my main goal here is to be able to manage
> > cronjobs. Add or remove certain crjob jobs etc...
> > Can any kind soul shed some light on how I would accomplish this?
> I think adding them from the shell is probably the "normal" way.
> For adding cron jobs from the web, you might look at webmin.
> Basically, the crontab is just a file, so if you can edit the file
> from your program and then force cron to reload the crontab you
> are all set.
Hmm...nevermind. I just found out that it is a file. How would I
reload the crontab?
More information about the Python-list