i've installed a python software that allows to run javascript on the server
i've put the binary file (jsrunner) in this address
/usr/local/bin/jsrunner
so in the ssh when i try it it works fine
/usr/local/bin/jsrunner /home/domain/public_html/test.js
and i get some output from test.js
so i've put the same exact command in the cronjob
* * * * * /usr/local/bin/jsrunner /home/domain/public_html/test.js
but after a while i didn't get the expected result so i've enabled email report on cronjob and i got a email with this title
Cron <domain@CentOS-67-64-minimal> /usr/local/bin/jsrunner /home/domain/public_html/test.js
containig this error
/bin/sh: /usr/local/bin/jsrunner: No such file or directory
why there is /bin/sh:
at the beginning of commend ? why it fails to find the file when i run it from cronjob ?
pleas note my cronjob works fine for other files like php using curl or binary , it's only this particular software/bin file that cuzing this error