*BSD News Article 79289


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!spring.edu.tw!howland.erols.net!cam-news-hub1.bbnplanet.com!www.nntp.primenet.com!nntp.primenet.com!news.sprintlink.net!news-stk-3.sprintlink.net!news.cirrus.com!usenet
From: Clint Wolff <clint_w@colorado.cirrus.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Last day of month crontab?
Date: Thu, 26 Sep 1996 16:50:22 -0600
Organization: Cirrus Logic, Inc.
Lines: 28
Message-ID: <324B08AE.41C67EA6@colorado.cirrus.com>
References: <3237F3E8.167EB0E7@corpex.com>
NNTP-Posting-Host: longs.colorado.cirrus.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.3_U1 sun4m)

Neil Fowler Wright wrote:
; 
; Hi,
; 
; Is -1 valid in the Day_of_the_Month field of a crontab, to fire the
; script on the last day of the month? It does not seem to be covered by
; the manual.
; 
; Cheers,
; 
; --
; Neil Fowler Wright                      Systems Administrator
; Corpex Ltd.                             +44 171 242 4555

Hi,

I don't know if -1 is valid or not, but you could try
Day_of_Month = 1 (first day), and Time_of_Day = 00:01 (one minute
after midnight).

This would be close enough to make me happy :)

clint (easily amused) wolff

-- 
Underscores added to return address to defeat advertising engines.

clintw@colorado.cirrus.com