[Labs-l] Programmatically submit jobs

Merlijn van Deen valhallasw at arctus.nl
Thu Feb 27 19:43:10 UTC 2014


On 27 February 2014 20:17, Prolineserver <prolineserver at gmail.com> wrote:

> 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?
>

Have you tried using the full path, i.e.  /usr/bin/jsub?

Merlijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20140227/c2d1b934/attachment.html>


More information about the Labs-l mailing list