stdout and stderr of script doesn't get redirected when executed by cron
- by gletscher
Hi, when I execute
./script &>> log.txt
I get a nice logfile, but if I have the same command executed by cron, lets say the crontab looks like this:
* * * * * '/home/user/script &>> /home/user/log.txt'
the log.txt will just be empty, I tried " and ' and ` and no ticks to enclose the command, any idea why the streams won't get written into the file?