- Extensions (not present in current version of iether RHEL or
- L stands for "last". When used in the day-of-week field, it allows you
to specify constructs such as "the last Friday"
("5L") of a given month. In
the day-of-month field, it specifies the last day of the month.
- W character is allowed for the day-of-month field. This character
is used to specify the weekday (Monday-Friday) nearest the given day. As an
example, if you were to specify "15W" as the value for the day-of-month
field, the meaning is: "the nearest weekday to the 15th of the month". So if
the 15th is a Saturday, the trigger will fire on Friday the 14th. If the
15th is a Sunday, the trigger will fire on Monday the 16th. If the 15th is a
Tuesday, then it will fire on Tuesday the 15th. However if you specify "1W"
as the value for day-of-month, and the 1st is a Saturday, the trigger will
fire on Monday the 3rd, as it will not 'jump' over the boundary of a month's
days. The 'W' character can be specified only when the day-of-month is a
single day, not a range or list of days.
- Hash ( # ) is allowed for
the day-of-week field, and must be followed by a number between one and
five. It allows you to specify constructs such as "the second Friday" of a
- Question mark ( ? ) Question mark is a non-standard character and exists only in some
cron implementations. It is used instead of '*' for leaving either
day-of-month or day-of-week blank.
Also some versions (but not RHEL or Suse) allow optional year field
* / , -
|Absolute value of year in which script
should be executed|