Quote:
Originally Posted by sourabhsharma
Hello Friends,
In my project I have to schedule a script to be run on every second saturday (once in month). Can you please suggest what entry should I make in cron ?
|
Hey,
It depends that on which date "Second Saturday" comes in a particular month.
Make a cron job entry with following parameters :
00 23 ? * 6
This is at 00 minutes of hour 23 on Saturday Every Month execute the script. But ? denotes "Which Day of the Month" : this varies and as I said earlier "It depends that on which date 'Second Saturday' comes in a particular month."
Either you program it OR Fix the day of the month as 14th day of the month.
Then cron entry will be :
00 23 14 * 6
Hope you got what I am trying to convey.
Thanks.
Varun
