The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Раздел полезных советов: Случайная задержка в shell-скрипте, выполняемом из crontab"
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Подсказка: Доступны два режима работы форума: "Раскрыть нити" и "Свернуть нити".
. "Случайная задержка в shell-скрипте, выполняемом из crontab (без башизмов)" +/
Сообщение от sshutdown0w (?), 15-Ноя-22, 14:59 
вот для 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 mo-
         ments 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.

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Раздел полезных советов: Случайная задержка в shell-скрипте, выполняемом из crontab, auto_tips, 27-Июл-22, 14:45  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру