The format of the cron job is as follows:
1 = The minute after the hour that you want it done
2 = The hour you want it done (Military Time)
3 = Day of the Month
4 = Month of the Year
5 = Day of the week
6 = ‘command’ that you want it to run
Example:
5 0 * * * /usr/local/bin/email
means –
5 – 5th minute after the hour
0 – In the 0 hour
* – Everyday of the month
* – Every month of the year
* – Everyday of the week
minute This controls what minute of the hour the command will run on,
and is between ‘0’ and ’59’
hour This controls what hour the command will run on, and is specified in
the 24 hour clock, values must be between 0 and 23 (0 is midnight)
dom This is the Day of Month, that you want the command run on, e.g. to
run a command on the 19th of each month, the dom would be 19.
month This is the month a specified command will run on, it may be specified
numerically (0-12), or as the name of the month (e.g. May)
dow This is the Day of Week that you want a command to be run on, it can
also be numeric (0-7) or as the name of the day (e.g. sun).
user This is the user who runs the command.
cmd This is the command that you want run. This field may contain
multiple words or spaces.