Scheduling
How do I schedule a single command (./dynip.sh) to be run hourly on Mandriva 2007 official? Help please.
|
have a look at man crontab
|
You'll want to learn how to modify /etc/crontab. In addition to the ever so popular 'man crontab', here are some links as reference:
http://en.wikipedia.org/wiki/Cron http://www.linux-tutorial.info/modul...rial&pageid=78 http://www.deluxnetwork.com/linux/guides/crons.php Hope this helps. |
In Mandriva (and possibly other distributions), you can put a copy of the script in /etc/cron.hourly. In a terminal window (as root):
Code:
cp ./dynip.sh /etc/cron.hourly |
Thank you very much for the help. Attempting to edit crontab (via crontab -e) didn't go so well, but apparently adding a script to the cron.hourly does work. It seems to run on the hour exactly (like *:01). =)
|
All times are GMT -5. The time now is 11:30 PM. |