Crontab help

Hi Guys,

This is a line in my crontab.

07 15 24 11 6 /usr/local/dsadm/dsprod/src/run_ipoval.sh 2>&1

I understood as the script is to run on 24 of nov at 3 07 pm.
But the script is running on every sat at 03 07 pm.

could anyone help me out with this and clarify my doubt??

Thanks for ur help in advance,
Magesh

The last field (in red above) is what is causing it to run every saturday. That is the "day of the week" field. Setting it to * should do what you require.

Thanks Wempy,,
But still i want to know in case if i give the above code as it is??

07 15 24 11 6 /usr/local/dsadm/dsprod/src/run_ipoval.sh 2>&1

What will happen?? whether the script will be scheduled to run on every saturday as well as on the nov 24 eventhough it is not a saturday.. rite???

Yes that is correct, it will run every saturday AND every 24/11 both at 07:15

The syntax is:

          • Command to be executed
            - - - - -
            | | | | |
            | | | | +-- Day of week (0-6)
            | | | +--- Month (1 - 12)
            | | +--- Day of month (1 - 31)
            | +---- Hour (0 - 23)
            +----- Min (0 - 59)