Rolando Bermúdez Peña
2015-02-10 22:50:50 UTC
Hello all,
I have configured supervisor the latest version, to run a php script like
this:
...
command=php /path/to/the/script.php
...
But in that script i execute the function exec to run other processes
within the php script, in the error log that i have configured for that
program supervisor shows
sh: 1: commandname: not found
commandname is the one that i try to execute using exec within the php
script.
And of course the commandname exists and runs fine using the same user
supervisor uses.
Any ideas of how can get this to work?
Thanks in advance.
Rolando Bermudez
I have configured supervisor the latest version, to run a php script like
this:
...
command=php /path/to/the/script.php
...
But in that script i execute the function exec to run other processes
within the php script, in the error log that i have configured for that
program supervisor shows
sh: 1: commandname: not found
commandname is the one that i try to execute using exec within the php
script.
And of course the commandname exists and runs fine using the same user
supervisor uses.
Any ideas of how can get this to work?
Thanks in advance.
Rolando Bermudez