ОС: Ubuntu 14.04
Я хотел бы выполнить Сценарий PHP/home/app/myapp.php в минуту 37 каждые два часа между 5:00 и 19:00 GMT с понедельника по пятницу круглый год.
Каков crontab синтаксис файла для этого?
37 5-19/2 * * 1-5
С тех пор, заключая в кавычки страница справочника :
field allowed values
----- --------------
...
day of week 0-7 (0 or 7 is Sun, or use names)
Ranges of numbers are allowed. Ranges are two numbers separated with a hyphen.
...
Step values can be used in conjunction with ranges. Following a range with ``/<number>'' specifies skips of the number's value through the range.
Names can also be used for the ``month'' and ``day of week'' fields. ... Ranges or lists of names are not allowed.