badreece
asked on
CRON scheduling
How do I set CRON up to run a script on the 2nd Monday of each month (let's say at noon)? Is this possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
great !!
didn't think of combining the day-of-month and the day-of-week field.
Seems that this pretty old software is really good :-))
didn't think of combining the day-of-month and the day-of-week field.
Seems that this pretty old software is really good :-))
ASKER
Thanks to Bedot for the answer and the quick reply. I gladly give the 100 points.
Thanks to Ahoffmann for the quick reply and the proposed workaround as well. Most Excellent.
Thanks to Ahoffmann for the quick reply and the proposed workaround as well. Most Excellent.
Short answer: NO.
You need to write a script (or any other program) which checks if it is the 2'nd monday. Then call this script via cron each monday.
I suggest perl with the Date::Manip module for the script.