Home Download Order Contact


CRON time format

Content  Previous  Next


 


"Periodically" schedule type

Network File Monitor Pro supports UNIX style CRON time formatting. It provides extreme flexibility and power for time scheduling.

 

CRON format is the instruction for Network File Monitor Pro 'Execute the task at this time on this date'.

 

The time and date fields are:

 

Field allowed

Values

minute

0-59

hour

0-23

day of month

1-31

month

1-12

day of week

0-6

 

For day of week 0 is Sunday.

 

A field may be an asterisk (*), which means all number between the first and the last'.

 

A field may contain a plus (+), which means the interval of task execution.

 

Ranges of numbers are allowed. Ranges are two numbers separated with a hyphen. The specified range is inclusive. For example, 9-11 for an "hours'' entry specifies the task execution at hours 9, 10 and 11.

 

Lists are allowed. A list is a set of numbers (or ranges) separated by commas. For example: "1,2,5,9", "0-4,8-12". 

 

Examples:

 

Time format

Description

+1 * * * *

execute task every minute

0 0 * * *

execute task every midnight

0 +12 * * 1-5

execute task at midnight and in the afternoon from Monday to Friday

0 0 1 * *

execute task at midnight at the end of every month

0 0 * * 6

execute task at midnight on Saturday

15 +6 * * *

execute task at 15 minute every 6 hours (0:15, 6:15, 12:15, 18:15)

0 8-16 * * 1-5

execute task at the beginning of every hour from  8 to 16 all work days

 


  Content  Previous  Next

© 1998-2006 AAR Software Ltd. | Site map