-wa

Specifies the job action to be taken before a job control action occurs.

Categories

properties

Synopsis

bsub -wa 'signal'

Description

A job warning action must be specified with a job action warning time in order for job warning to take effect.

If -wa is specified, LSF sends the warning action to the job before the actual control action is taken. This allows the job time to save its result before being terminated by the job control action.

The warning action specified by -wa option overrides JOB_WARNING_ACTION in the queue. JOB_WARNING_ACTION is used as the default when no command line option is specified.

Examples

The following specifies that 2 minutes before the job reaches its runtime limit, a URG signal is sent to the job:

bsub -W 60 -wt '2' -wa 'URG' myjob