On 9/26/06, Claes at work
Hello,
can someone suggest an alternative to "at" for scheduled script execution? I currently use at to schedule recordings with my tv-card, but I find it lacking in a few ways.
Have you had a look at cron? man crontab A crontab allows you to specify when a job should be started and you can see your entries with crontab -l (crontab -e to edit the crontab) I normally write scritps for different jobs and give the script a descriptive name. THen I schedule it in my crontab. You can also put comments in the crontab (similar syntax as shell script). If I want to start a job and prevent others from running while that one is running, then I write the script to touch a lock file somewhere . Then, the other scripts will check if the lock file exist and will immediately exit. When the script is done, it deletes the lock file and thus the next script will start HTH -- Andre Truter | Software Consultant | Registered Linux user #185282 Jabber: andre.truter@gmail.com | http://www.trusoft.co.za ~ A dinosaur is a salamander designed to Mil Spec ~