Re: Question about crontab

From: Stephen Murphy (SMurphy@UAMAIL.ALBANY.EDU)
Date: Mon Sep 16 2002 - 14:04:38 EDT


Cron can schedule things for Monday or the first of the month but not the
first Monday as you require. What I would do is to schedule a script with
cron to run every Monday at 11PM and if the date was 7 or less, produce the
report, otherwise produce nothing and exit.

--
*---------------------------------------------------------------------------
*
  Stephen T. Murphy
  Manager, Database and Technical Support
  University Business Systems - MSC-100
  The University at Albany, S.U.N.Y
  Albany,  New York    12222
  Phone: (518) 437-4523     Fax: (518) 437-4540
  MailTo:SMurphy@UAMail.Albany.EDU     AIM: SMurphy199
-----Original Message-----
From: Drew Wrobel [mailto:Andrew_Wrobel@PEPBOYS.COM]
Sent: Monday, September 16, 2002 1:41 PM
To: aix-l@Princeton.EDU
Subject: Question about crontab
     I have a need to run a script at 11pm on the first monday of every
month.
     I'm a bit confused as to what the crontab entry should look like.
     I know what the entry would look like for the first of the month, run
a script
on a monday.  But not on the first monday of every month.
     Am I just confused or is this logical that would need to be put into
the script?
     Thanks


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:12 EDT