Allowed Special Characters
Allowed Values
Field Name
, - * /
0 - 23
Hours
, - * ? / L W C
1 - 31
Day of Month
, - * /
1 - 12, or JAN - DEC
Month
, - * ? / L C #
1 -7, or SUN - SAT
Day of Week
, - * /
Empty, or 1970 - 2099
Year (optional)
Notes on allowed special characters
• Commas (,) are allowed to specify additional values. For example, “5,10,30” or
“MON,WED,FRI”.
• Asterisks (*) are used for "every.” For example, “*” in the minutes field is "every minute".
• Question marks (?) are allowed to specify no specific value in the Day of Week or Day of
Month fields.
NOTE:
The question mark must be used in one of these fields, but cannot be used in both.
• Forward slashes (/) identify increments. For example, “5/15” in the minutes field means the
task runs at minutes 5, 20, 35 and 50.
• The letter "L" means "last" in the Day of Week or Day of Month fields. For example, "0 15
10 ? * 6L" means the last Friday of every month at 10:15 am.
• The letter "W" means "weekday". So, if you created a Day of Month as "15W", this means
the weekday closest to the 15th of the month. Also, you can specify "LW", which would
mean the last weekday of the month.
• The pound character "#" identifies the "Nth" day of the month. For example, using "6#3"
in the Day of Week field is the third Friday of every month, "2#1" is the first Monday, and
"4#5" is the fifth Wednesday.
NOTE:
If the month does not have fifth Wednesday, the task does not run.
Configuring ePolicy Orchestrator Servers
Allowed Cron syntax when scheduling a server task
37
McAfee ePolicy Orchestrator 4.0.2 Product Guide