Closed GoogleCodeExporter closed 9 years ago
I realized that cron doesn't know where to find the commands in my script.
specifying the path solved the problem! sorry to trouble you. feel free to
delete this post!
Original comment by yhouv...@gmail.com
on 21 Dec 2011 at 7:15
No worries, glad it's working now!
Happy holidays :)
Original comment by sven.a.s...@googlemail.com
on 21 Dec 2011 at 9:01
I have exactly the same problem. However, I don't understand your solution --
how to specify the commands in the SCRIPT?
Thanks,
Z
Original comment by Melo.Fay...@gmail.com
on 11 Mar 2012 at 7:38
You need to make sure that the commands used in your shell script don't rely on
paths you've only set in your user's PATH. The best test is to delete your PATH
and make your script run by using full paths for your commands. Or you set the
PATH at the start of your script to what it needs to be. (You could copy your
user's PATH, for example.)
Hope that helps,
Sven
Original comment by sven.a.s...@googlemail.com
on 12 Mar 2012 at 8:37
Original issue reported on code.google.com by
yhouv...@gmail.com
on 21 Dec 2011 at 2:09