hi ya

you can run the script 7 times ( 7 entries in crontab )....
and if its not sunday, the script can exit.....

at least no wrapper is needed...

and there's probably "gazaillion" other ways to skin this cat

c ya
alvin

On Wed, 25 Apr 2001, Bud Rogers wrote:

> "Karsten M. Self" <kmself@ix.netcom.com> writes:
> > I've got a job I'd like to run once a month, on a set day of the week,
> > say, the first Sunday of the month.  Suggestions as to how to do this
> > with cron?
> 
> Could you wrap the job in a shell scrip? Run the script from cron every 
> Sunday.  Have the script check if the date is within the first seven days of 
> the month.  If so run the job, else exit quietly.  Not very elegant, but it 
> would get the job done.
> 
> -- 
> Bud Rogers <[EMAIL PROTECTED]>   http://www.sirinet.net/~budr
> All things in moderation.  And not too much moderation either.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

Reply via email to