CRON syntax

A CRON job consists of six fields:

minute    hour    day of month    month    day of week    command

The asterisk '*' serves as a placeholder for all permitted characters.

Here are some examples of performing regular restarts with the use of CRON:

Every day at 13:30h:

30         13          *           *           *         restart

Every day 30 minutes past each hour:

30         *           *           *           *         restart

Every 30 minutes every day:

*/30       *           *           *           *         restart

Every Saturday at 20:15h:

15         20          *           *           6         restart
Note: Sundays is selected either with '0' or '7'.

At 00:00h on the first day of the month

0          0           1           *           *         restart

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo