Что означает последнее число за время cron? [dубликат]

У этого вопроса уже есть ответ здесь: Как настроить работу Cron? 6 ответов

Итак, я искал его, и я просто не понимаю последнюю часть. Проблема вопроса такова, как следует. каков результат, если cron выглядит следующим образом:

0 2 12 * 0,6 /usr/bin/test

Я запутался в последней части 0,6, так как это должно быть год?

0
задан 20 March 2018 в 03:45

6 ответов

Последняя часть - день недели. Итак, 0,6 - воскресенье и суббота.

https://crontab.guru/#0_2_12_*_0,6

4
ответ дан 22 May 2018 в 16:22

Последняя часть - день недели. Итак, 0,6 - воскресенье и суббота.

https://crontab.guru/#0_2_12_*_0,6

4
ответ дан 18 July 2018 в 03:34

Последняя часть - день недели. Итак, 0,6 - воскресенье и суббота.

https://crontab.guru/#0_2_12_*_0,6

4
ответ дан 24 July 2018 в 17:52

Нет, это поле недели. Из man 5 crontab

   Commands  are  executed  by cron(8) when the minute, hour, and month of
   year fields match the current time, and when at least one  of  the  two
   day  fields  (day of month, or day of week) match the current time (see
   ``Note'' below).  cron(8) examines cron entries once every minute.  The
   time and date fields are:

          field          allowed values
          -----          --------------
          minute         0-59
          hour           0-23
          day of month   1-31
          month          1-12 (or names, see below)
          day of week    0-7 (0 or 7 is Sun, or use names)
2
ответ дан 22 May 2018 в 16:22

Нет, это поле недели. Из man 5 crontab

Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and when at least one of the two day fields (day of month, or day of week) match the current time (see ``Note'' below). cron(8) examines cron entries once every minute. The time and date fields are: field allowed values ----- -------------- minute 0-59 hour 0-23 day of month 1-31 month 1-12 (or names, see below) day of week 0-7 (0 or 7 is Sun, or use names)
2
ответ дан 18 July 2018 в 03:34

Нет, это поле недели. Из man 5 crontab

Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and when at least one of the two day fields (day of month, or day of week) match the current time (see ``Note'' below). cron(8) examines cron entries once every minute. The time and date fields are: field allowed values ----- -------------- minute 0-59 hour 0-23 day of month 1-31 month 1-12 (or names, see below) day of week 0-7 (0 or 7 is Sun, or use names)
2
ответ дан 24 July 2018 в 17:52

Другие вопросы по тегам:

Похожие вопросы: