I have also confirmed that the script runs from the crontab entry, but there is one line in the script that doesn't work, where I use mutt to send me a notification.
The script still works but the following command doesn't
Code: Select all
mutt -s "Alert about the website" -a log/$LOGFILE.txt temp/index.html -- myemail@mycompany.ca < message.txt
Code: Select all
echo $PATH
Code: Select all
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Code: Select all
crontab -e
Code: Select all
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n)
Thanks