Submit a job with start or termination times

You can specify a time of day at which to start or stop a job.

About this task

By default, LSF dispatches jobs as soon as possible, and then allows them to finish, although resource limits might terminate the job before it finishes.

If you do not want to start your job immediately when you submit it, specify a start time for LSF to start it.

You can also specify a time after which the job should be terminated.

Procedure

  1. Submit a job with a start time.
    bsub -b 5:00 myjob

    This example submits a job that remains pending until after the local time on the master host reaches 5 a.m.

  2. Submit a job with a termination time.
    bsub -t 11:12:20:30 myjob

    The job called myjob is submitted to the default queue. If the job is still running on November 12 at 8:30 p.m., it will be killed.