Cron - First Saturday of the month

Randal Schwartz merlyn at iwarp.intel.com
Thu Aug 9 04:57:45 AEST 1990


In article <19744 at orstcs.CS.ORST.EDU>, curt at oce (Curt Vandetta) writes:
|   I'm wondering if anyone has a way of making cron run a job on the
|   first Saturday of every month?  

3 4 1-7 * 6 command

to make 'command' run at 4:03am... adjust the first two fields as
necessary.  Remember, the parameters are "and"-ed together.

#ifdef FLAME_ABOUT_INAPPROPRIATE_GROUP

This is not a wizard question.  Wizards generally know cron things,
especially things that can be found with "man 5 crontab".  Do not post
to wizards unless you *are* a wizard, and if you have any doubt about
whether you are a wizard or not, you're not!

Now, if you had asked which versions of cron did *not* provide /etc in
the PATH... that'd be a wizard question. :-)

#endif

Just another UNIX hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/



More information about the Comp.unix.wizards mailing list