Waits for termination of jobs while displaying a progress bar containing summarizing informations of the jobs. The following abbreviations are used in the progress bar: “S” for number of jobs on system, “D” for number of jobs successfully terminated, “E” for number ofjobs terminated with an R exception and “R” for number of jobs currently running on the system.
waitForJobs(reg, ids, sleep = 10, timeout = 604800, stop.on.error = FALSE, progressbar = TRUE)
Vector of job ids.
Default is all submitted jobs not yet terminated.
Seconds to sleep between status updates. Default is
timeout seconds, show a message and return
This argument may be required on some systems where, e.g., expired jobs or jobs on hold
are problematic to detect. If you don't want a timeout, set this to
604800 (one week).
Immediately return if a job terminates with an error? Default is
FALSE to disable the progress bar.
To disable all progress bars, see
TRUE if all jobs terminated successfully
FALSE if either an error occurred or the timeout is reached.