Quote |
Well Ok another dumb mistake. There are 6 fields for the time trigger and I only had 5 in crontab. |
Code Sample |
############################################################################ # This script reads /etc/crontab one line at a time and executes commands # in a manner similar to the real cron. Crontab entries are seven space # separated fields. The first 6 fields are the time stuff (slightly # enhanced) and the remainder of the line is considered the command and # will be passed to the system (almost) as is for execution. # Crontab fields: MM HH DD MO WD YY <command> # EG: "32-46 15 12 5 * 2006 cmd" (3:32pm to 3:46pm 12 May 2006) # "10 8-17 * 5 * cmd" (8:10am - 5:10pm everyday in May) # "0 0/2 * * 6 cmd" (every two hours, on the hour, on Saturday) ############################################################################ |
Quote (roberts @ Oct. 08 2007,11:04) | ||
As shown in the perl script, /usr/local/bin/MyCron uses a slightly enhanced crontab
|