14

Shell script not getting called through cron job but executes fine manually.

view full story
linux-howto

http://www.unix.com – Hi, My shell script not getting called through cron job. The same works fine when executed manually. I tried to generate logs to find if the scripts has some errors related to path using following command- trying to execute .sh file every 5 mins: Code: */5 * * * * /home/myfolder/abc.sh /home/myfolder/abc.log 2>&1 But even the logs are not getting generated at the mentioned path. The shell script is located in the folder root/home/myfolder. Can any one help me idenfy the issue and its resolution. Any help/suggestion would be greatly appreciated. (HowTos)