Cron - First Saturday of the month

Bob Strait rls at svcs1.UUCP
Fri Aug 10 03:13:32 AEST 1990


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

How about running your job each of the first seven days of every
month, and have the job first test whether it's Saturday and
exit if it's not.  There are several easy ways to do the test:
'date | grep Sat' comes to mind.
-- 
BUBBA	(aka Bob Strait)		...!mips!svcs1!rls
Silicon Valley Computer Society
Sunnyvale, CA
--



More information about the Comp.unix.wizards mailing list