Re: Howto add a crontab job ?
Thanks. man crontab doesn't tell me what the syntax is for a "every 5
job though, and that's what I need. Any other ideas ?
I use crontab -e to edit my personal crontab. The format that you are
looking for is:
* * * * * <command> \n
The first star is the minutes: every 5 minutes would be 0-59/5 or
The second star is the hours: every hour is *
The third star is day of the month
The fourth star is month of the year
The fifth star is day of the week: Sunday is both 0 and 7.
The \n means that every line must end with a new line.
So every five minutes is something like:
0-55/5 * * * * <command> \n