Submit a random job

random_job(name, secs = 30, ...)

Arguments

name

Job name.

secs

Seconds to sleep.

...

Pass to bsub_chunk().

Value

A job ID.

Details

It simply runs Sys.sleep(secs) in the job.

Examples

# \dontrun{
random_job()
#> Error in bsub_chunk({    Sys.sleep(secs)}, name = name, variables = "secs", ...): Job can only be sumitted on the same file system as submission nodes.
# }