T o n g wrote:
I know we can put day of the week info as cron schedules, but how can I define:

- first Monday of the month
- second Monday of the month
- last Monday of the month

The first Monday of the month will be the only Monday within the first seven days of the month.

0 0 1-7 * 1 command

would schedule command to run at midnight on any Monday that is between the first and seventh day of the month inclusive, which should always be the first Monday of that month.

--
Avi Greenbury :) http://aviswebsite.co.uk


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to