The cron may be running it under a different shell. You could try forcing it to use a specific shell by putting in the first line "#!/usr/bin/XXX" where XXX is either ksh or csh or whatever shell you are using. Also, in the cron at the end of the line, redirect the output and see what it has to say if anything, i.e. ">/tmp/cron.out 2>&1". Lastly, check /var/cron/log to see if there is anything there. Good Luck.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.