I have a script written which works perfect on terminal however gives error when called through crontab. It took me a while that the problem is with the cron environment not my script.
so I tried few options after reading various posts online:
* * * * * PATH=/home/sam/bin:/home/sam/scriptbin/ /path/to/script
* * * * * bash -lc /path/to/script Didn't work
* * * * * /path/to/script Didn't work
`PATH=blahdeblah * * * * * jobdejob` Didn't work
How can I change
$PATH variable for crontab in OPENSUSE or include in cron file so that it works. I am using open suse 11.