Cron - First Saturday of the month

B|rje Josefsson bj at dc.luth.se
Thu Aug 16 03:26:59 AEST 1990


Slightly a side question according to the Subject:, but how to setup a
command for execution on the LAST day of the month ONLY? 

I could use:
            0 0 31 1 * command
            0 0 28 2 * command
            0 0 31 3 * command
            and so on
but that will not work on leap years...

--Borje
-----------------------------------------------------------------------------
Borje Josefsson, Computer centre, University of Lulea, S-951 87 Lulea, Sweden
Tel: +46 920 91 262 (direct), +46 920 91 000 (operator).  Fax: +46 920 972 88

Domain:  bj at dc.luth.se                Path: {uunet,mcsun,sunic}!dc.luth.se!bj



More information about the Comp.unix.wizards mailing list