Platform LSF Administration Guide Version 6.2
Specifying Time Expressions
Administering Platform LSF
242
Specifying Time Expressions
Time expressions use time windows to specify when to change configurations. For more
details on time windows, see “Specifying Time Windows” on page 241.
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.
The syntax for a time expression is:
expression = time(
time_window
[
time_window
...])
| expression && expression
| expression || expression
| !expression
Example
Both of the following expressions specify weekends (Friday evening at 6:30 p.m. until
Monday morning at 8:30 a.m.) and nights (8:00 p.m. to 8:30 a.m. daily).
time(5:18:30-1:8:30 20:00-8:30)
time(5:18:30-1:8:30) || time(20:00-8:30)