From owner-freebsd-bugs Sat Dec 20 02:52:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA06731 for bugs-outgoing; Sat, 20 Dec 1997 02:52:08 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA06721 for ; Sat, 20 Dec 1997 02:52:04 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id LAA12082 for freebsd-bugs@freebsd.org; Sat, 20 Dec 1997 11:52:02 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id LAA29409; Sat, 20 Dec 1997 11:37:00 +0100 (MET) Date: Sat, 20 Dec 1997 11:37:00 +0100 (MET) Message-Id: <199712201037.LAA29409@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <199712142220.XAA01080@uriah.heep.sax.de> <199712150153.JAA27760@spinner.netplex.com.au> From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: conf/5254: patch for /usr/src/etc/crontab X-Original-Newsgroups: local.freebsd.bugs To: freebsd-bugs@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > I use what I thought was a neat hack. I run the daily/weekly/montly etc > type scripts several times a night. In daily's case, it's 2am, 3am, 4am, > 5am. It keeps a 'last run' timestamp in /var/db and at start time, it > checks to see if it was within the last 12 hours or so and exits if so. Hmm, i like the `generic' solution better. I always meant to review and commit that contribution, but currently have a hard time finding it. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)