D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] PHP or Perl script to edit crontab from browser

 

> Moreover, you'd have to read from the cron file, translate the output
> into something your Perl/PHP script understands, make the changes and
> write it back into the cron file.

Good point. I also found this:
http://www.phpclasses.org/browse/package/2392.html
which is a class for parsing cron files. Didn't think it was much use
until you mentioned the whole reading issue.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html