Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: Ротация логов
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.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
|