Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Crontab does not execute script within a script

$
0
0
Hello All,

I have a crontab schedule and its executing a script that is calling another script and does not execute.

Crontab : ***** /test.sh

and in test.sh
/usr/local/file.sh

and in file.sh
webproxy -l 192.168.1.151

But when I run the script (test.sh) directly it works. But using crontab it does not work. I checked mail log and it says "command not found : webproxy"

Please suggest how to get this work from cron.

Regards
Shaan

Viewing all articles
Browse latest Browse all 16232

Trending Articles