[Labs-l] Programmatically submit jobs

Prolineserver prolineserver at gmail.com
Thu Feb 27 19:17:03 UTC 2014


Dear all,

what is the proper way to submit a job with jsub from a php script
running on the webserver or a cron script?

On the webserver, a exec('jsub ...' ,...) results in a php error "sh:
1: jsub: not found", in a periodically running cron-script checking a
queue i instead get "jsub: command not found". Running the cron script
on the login server instead works without any problem, but running it
in a screen cannot be the proper solution. Any suggestions?

Regards, Holger



More information about the Labs-l mailing list