Field
Mandatory Values
Month
yes
Day of Week yes
Year
no
Table 5: Fields of a Quartz cron expression
Example
A simple example would be:
0 0 19 24 DEC ? 2010
This cron expression would trigger a backup job at 7.00 p.m. on
24.12.2010.
The following table shows the use of special characters in a cron expression:
Special
Description
characters
x,y
Describes a list of 2 or
more values
x-y
A range of values from x to
y inclusive.
*
Describes all possible valu-
es
x/y
Describes a sequence
starting with x and incre-
mented by y
ServerView Virtual-IO Manager
1 - 12 or JAN - DEC , - * /
1 - 7 or SUN - SAT , - * / ? L #
1970 - 2099
Example
* * 9 ? * SAT,SUN
* * 6 ? * MON-FRI
* * * ? * *
* 0/5 * 1 * ?
14.1 VIOM Backup Service
Special characters
, - * /
Meaning of
the example
At 9 a.m.
every Sat-
urday and Sun-
day
At 6 a.m.
every Monday
to Friday
Every second
Every 5 sec-
onds starting
at 0:00 on the
first day of
each month
341
Need help?
Do you have a question about the ServerView Virtual-IO Manager V3.1 and is the answer not in the manual?
Questions and answers