D&C GLug - Home Page

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

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

 

Hi folks,

I'm trying to implement a simple web based solution for setting up cron 
jobs via a web browser.  I was wondering if anyone had come across a PHP 
or Perl script to do such a thing?

What I want is for the user to load a web page on a linux box, select an 
option of what they want to happen and what time (from a predetermined 
list of times and commands) and then have it save the details to the 
crontab file.

Is this possible or would I be better off having some sort of PHP/Perl 
script set to run every minute to check the time and if it matches in a 
file to then run some commands?

Ta,

Rob

-- 
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