Problems with a shell script running from cron

If you have a shellscript thats run okay from shell, but not will running from cron, run this command (This is what it looks like when cron run it)

/bin/sh -c "(export PATH=/usr/bin:/bin; /usr/local/bin/shellscript.sh)"

 

Leave a Reply

Your email address will not be published. Required fields are marked *