Results 1 to 3 of 3
Does anyone know of any tools available to manage scripts run via a cron job? We've got multiple cron scripts running and need a way to manage logs, start/end dates ...
- 01-28-2010 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 9
Cron script management
Does anyone know of any tools available to manage scripts run via a cron job? We've got multiple cron scripts running and need a way to manage logs, start/end dates and times, send failure notifications, etc. Most of our scripts are written in PHP, so a PHP class would be good, but not necessary. I could write my own, but I don't want to reinvent the wheel if there is already something out there.
Victor
- 01-30-2010 #2
It's not clear what you want to do.
It sounds like you already have the scripts written the way you want them, so what do you want to do? Do you want to enable and disable the scripts? That could be done within the script itself. That is, if some file exists, don't do anything--just exit.
Or each script could read a small configuration file to see what it is to do. Then all you need to do is edit (or regenerate by any means) the config file.
Are these scripts being run as a user or by the system? I keep a file named crontab.txt under my home directory so when I want to make changes I can simply edit it and issue the command:
crontab crontab.txt
- 01-30-2010 #3
So are you asking for, say, a BASH script to call your web scripts?


Reply With Quote