CRON – example

CRON – example

minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names)
day of week 0-7 (0 or 7 is Sunday or use names)

Every 5 min
*/5 * * * * root /p/a/t/h/aaaa.sh

Every hour, from 9:00 to 18:00
00 09-18 * * * root /p/a/t/h/aaaa.sh

Every day, at 9:00 and 18:00
00 09,18 * * * root /p/a/t/h/aaaa.sh

Every day, at 17:30
30 17 * * * root /p/a/t/h/aaaa.sh

Every weekday, at 17:30
30 17 * * Mon,Tue,Wed,Thu,Fri root /p/a/t/h/aaaa.sh

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *

This site uses Akismet to reduce spam. Learn how your comment data is processed.