next up previous contents
Next: Examples Up: FBSNG Command Line Interface Previous: submit   Contents

wait

The wait command will block until a specified job or section has completed. The format of the command is:

  fbs wait [-t <time_out>] ([-s <section>] <jobid>|<sectionid>)
If -s is supplied, the command will wait for section to complete. If -t is supplied, the command will return with 137 if the section or job being waited on did not complete in time minutes. If all of the sections of the job being waited on end with a status of 0, then the command returns 0, otherwise a 1 is returned. If an error occurred, then 2 is returned. The section name can be supplied either with the -s flag or in the jobid string. If it is specified in the jobid string, the format must be jobid.section. If a section is supplied in both places, the -s flag is ignored.

Subsections

FBSNG Home