LSF Version 7.3 - Administering Platform LSF

Specifying Time Expressions
270 Administering Platform LSF
where all fields are numbers with the following ranges:
day of the week: 0-6 (0 is Sunday)
hour: 0-23
minute: 0-59
Specify a time window one of the following ways:
hour-hour
hour:minute-hour:minute
day:hour:minute-day:hour:minute
The default value for minute is 0 (on the hour); the default value for day is every day
of the week.
You must specify at least the hour. Day of the week and minute are optional. Both
the start time and end time values must use the same syntax. If you do not specify
a minute, LSF assumes the first minute of the hour (
:00). If you do not specify a day,
LSF assumes every day of the week. If you do specify the day, you must also specify
the minute.
You can specify multiple time windows, but they cannot overlap. For example:
timeWindow(8:00-14:00 18:00-22:00)
is correct, but
timeWindow(8:00-14:00 11:00-15:00)
is not valid.
Examples of time windows
Daily window To specify a daily window omit the day field from the time window. Use either the
hour-hour or hour:minute-hour:minute format. For example, to specify a daily
8:30 a.m. to 6:30 p.m window:
8:30-18:30
Overnight window To specify an overnight window make time1 greater than time2. For example, to
specify 6:30 p.m. to 8:30 a.m. the following day:
18:30-8:30
Weekend window To specify a weekend window use the day field. For example, to specify Friday at
6:30 p.m to Monday at 8:30 a.m.:
5:18:30-1:8:30
Specifying Time Expressions
Time expressions use time windows to specify when to change configurations.
Time expression syntax
A time expression is made up of the time keyword followed by one or more
space-separated time windows enclosed in parenthesis. Time expressions can be
combined using the
&&, ||, and ! logical operators.