Date: Sun, 16 May 2004 12:29:33 -0700 (PDT) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c Message-ID: <200405161929.i4GJTXDu084445@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2004/05/16 12:29:33 PDT
FreeBSD src repository
Modified files:
usr.sbin/cron/cron cron.8 cron.c cron.h do_command.c
Log:
Add two new options to cron(8), -J and -j. They allow to specify
the maximum amount of time jitter for root and other users, respectively.
Before starting a job, cron(8) will sleep a random number of seconds,
from 0 to the amount specified. This can help to smooth down load spikes
when a lot of jobs are to start at the beginning of a particular minute
(e.g., the first minute of an hour.)
PR: bin/66474
Submitted by: Dmitry Morozovsky <marck <@> rinet.ru>
Revision Changes Path
1.21 +23 -0 src/usr.sbin/cron/cron/cron.8
1.15 +17 -3 src/usr.sbin/cron/cron/cron.c
1.15 +4 -0 src/usr.sbin/cron/cron/cron.h
1.22 +7 -0 src/usr.sbin/cron/cron/do_command.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405161929.i4GJTXDu084445>
