Originally posted by: ddunlap, Thu Jan 25, 2007 2:24 pm

A customer asked the following question: is it possible to set up LSF
so that a host is part of a queue after hours, but not during the day?

Answer: Yes, using time-based configuration in lsb.queues.

Example:

Begin Queue
...
#if time(18:00-8:00)
HOSTS=all
#else
HOSTS=host1 host2
#endif
...
End Queue

For more information see the chapter on "Time Syntax and Configuration"
in "Administering Platform LSF" (Chapter 12, p. 239 in the LSF 6.2 manual)

Note that you can use this type of time-based configuration with
several LSF config files (lsb.hosts, lsb.params, lsb.queues, lsb.resources,
lsb.users).

FYI,
Dale
_________________
Dale Dunlap
Technical Consultant