Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: bakedjake
I put all the commands in shell scripts/perlscripts. Seems to make things easier for me to look at, then I have the command handy if I need to execute it outside of cron
I make a text file with all my cron info i.e.:
#Min Hour Day DayMonth DayWeek
* 1 * * * /home/kenta/backup.sh
5 * * * * /home/kenta/popmail.pl >/dev/null
Then dump it into my crontab by typing "crontab filename.txt" and view it by typing "crontab -l" Making changes to filename.txt and doing the command again with just the filename overwrites the current crontab.
I assume you may already know the syntax of what the *'s and #'s mean in cron... If not, let us know.
5 0 * * * /usr/local/bin/savelogs --config=/path/to/savelogs.conf