I use this header at the top of the crontab file to help avoid such errors and make it easier to read
Code:
#Minute (0-59),
#| Hour (0-23),
#| | Day of the month (1-31),
#| | | Month of the year (1-12),
#| | | | Day of the week (0-6 with 0=Sunday).
#| | | | | Commands
#| | | | | |
#-------------------------------------------------------------------------------------------------------
So your crontab will look something like this:
Code:
# sudo crontab -l
#ident "@(#)root 1.21 04/03/23 SMI"
#
# The root crontab should be used to perform accounting data collection.
#
#
#Minute (0-59),
#| Hour (0-23),
#| | Day of the month (1-31),
#| | | Month of the year (1-12),
#| | | | Day of the week (0-6 with 0=Sunday).
#| | | | | Commands
#| | | | | |
#-------------------------------------------------------------------------------------------------------
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean