Submit a random job
random_job(name, secs = 30, ...)
Job name.
Seconds to sleep.
Pass to bsub_chunk()
.
A job ID.
It simply runs Sys.sleep(secs)
in the job.
# \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.
# }