[Gllug] Crontab schedule question

Alain Williams addw at phcomp.co.uk
Thu Nov 17 11:00:35 UTC 2005


On Thu, Nov 17, 2005 at 10:53:35AM +0000, Kurt Goodliff wrote:
> Hi All
> 
> I need to configure a job to run every second monday at 12:00. I've got 
> the job running on a weekly basis at the moment but am a little confused 
> about how to get it to skip a week.

''every second monday'' - starting from which Monday ? Ie which is the first Monday
in your sequence ?

You are probably best starting it every Monday and having something in the script to
decide if this is an odd/even Monday.

> My shedule at the moment looks like this
> 00   12   *   *   1
> 
> I was thinking this should work, since it should action every second 
> occurence of monday
> 00    12    *    *    1/2
> 
> Could someone please confirm or correct this for please.
> 
> Thx in advance.
> 
> Cheers
> 
> Kurt
> -- 
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug

-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/

#include <std_disclaimer.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20051117/a102e6f2/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list