Re[2]: Ротация логов

Anton Yuzhaninov citrin at citrin.ru
Fri Apr 7 12:31:14 MSD 2006


Hello Avramenko,

You wrote on Friday, April 7, 2006, 12:21:51 PM:

AA> Andrew Kopeyko wrote:

>> Специально для таких случаев cron(8) имеет флаги '-j' и '-J'.
AA> Если не секрет, что это за ключики такие и какую они имеет специфику к ОС?
AA> В Red Hat я не нашел в man 8 cron ничего об этом.

это из FreeBSD:

     -j jitter
             Enable time jitter.  Prior to executing commands, cron will sleep
             a random number of seconds in the range from 0 to jitter.  This
             will not affect superuser jobs (see -J).  A value for jitter must
             be between 0 and 60 inclusive.  Default is 0, which effectively
             disables time jitter.

             This option can help to smooth down system load spikes during
             moments when a lot of jobs are likely to start at once, e.g., at
             the beginning of the first minute of each hour.

     -J rootjitter
             Enable time jitter for superuser jobs.  The same as -j except
             that it will affect jobs run by the superuser only.


-- 
 Anton Yuzhaninov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1781 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20060407/b12dd900/attachment.bin>


More information about the nginx-ru mailing list