From owner-freebsd-bugs Thu Aug 10 4:23:43 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EBA8E37BC40; Thu, 10 Aug 2000 04:23:41 -0700 (PDT) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA99038; Thu, 10 Aug 2000 04:23:41 -0700 (PDT) (envelope-from brian@FreeBSD.org) Date: Thu, 10 Aug 2000 04:23:41 -0700 (PDT) From: Message-Id: <200008101123.EAA99038@freefall.freebsd.org> To: brett@lariat.org, brian@FreeBSD.org, freebsd-bugs@FreeBSD.org, brian@FreeBSD.org Subject: Re: conf/20498: All FreeBSD systems trigger massive late-night activity at the same times Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: All FreeBSD systems trigger massive late-night activity at the same times State-Changed-From-To: closed->open State-Changed-By: brian State-Changed-When: Thu Aug 10 04:21:46 PDT 2000 State-Changed-Why: I think it might be nice to have a mechanism whereby cron runs maybe-periodic every 15 minutes between (say) 2:00 and 23:00. The maybe-periodic script checks a touch file that indicates when the last such periodic actually ran (say /var/db/periodic-{dai,week,month}ly.run. If the file has a date of yesterday or before (or this day last week or month depending on the periodic argument), the script picks a random number between 1 and 24 (or 1 and 7 or 1 and 31) . If the file is more than that number of hours (or days) old, the touch-file is re-touched and the periodic run is invoked. This resolves the random-start-time issue, and also handles systems that are shut down every night. I'll implement this if nobody objects. Responsible-Changed-From-To: freebsd-bugs->brian Responsible-Changed-By: brian Responsible-Changed-When: Thu Aug 10 04:21:46 PDT 2000 Responsible-Changed-Why: I changed my mind. This can be resolved with a combination of cron and periodic changes http://www.freebsd.org/cgi/query-pr.cgi?pr=20498 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message