The Schedule Block
When submitting a job asynchronously with bsub, you can declare a start time using the schedule block, and also send an email when a Service is complete. This block has no effect if the job is submitted synchronously.
The schedule block can contain a type property, which defines what type of schedule is used. The possible values are relative, for defining a Service that starts a certain number of minutes after submission, and absolute, for a Service that starts at a defined time.
After inserting a type property, you must insert a time property to indicate the time when the Service must start. For relative services, use the minuteDelay property, set to an integer. For absolute properties, use the startTime property, set to a string in the "mm/dd/yy hh:mm AM|PM" format.
Allowed schedule declarations are:
Relative
schedule
type = relative
minuteDelay =val
end
Absolute
schedule
type = absolute
startTime = "mm/dd/yy hh:mm AM|PM"
end
With either type, declaring email="string" in the schedule block sends an email to the address given in the string when the Service is complete.