Redirect output to a file from within cron

Change the redirection to 2>&1. So now crontab -e looks like

*/1 * * * * /home/teamsoo/backup.sh >> /home/teamsoo/backup.log 2>&1

Leave a comment