> > I need to set up a cron job that runs on the first Saturday of each month.
> > I've set up crons to run hourly, daily, but never on one day of the month.
> > Can this be done? If so how should I schedule it?
> Try an entry like:
> * * 1-7 * 6 your-command
> and RTFM while you are at it.
Actually this entry will run the command on the first seven days of the
month AND every saturday. From the man pages for crontab
3. As an example of specifying the two types of days:
0 0 1,15 * 1
would run a command on the first and fif*th of each
month, as well as on every Monday.
Unfortunately, cron is not sophisticated enough to do what you want. My
suggestion is that you write a front end. Have cron run the front end
every saturday. The fron end should determine if this is the first
saturday of the month. If so the front end then invokes the actual
Now I could get snotty and tell you to RTFM. But I won't.
Barbary Coast Consulting, Inc.