Mutt failing as cron job with 'Couldn't lock /sent'
问题 I have a bash script which picks up files from /tmp and emails them to me. I run this script as root and it works perfectly but I am trying to get this automated with crontab. Added the job to crontab, again running as root, and now I get 'Couldn't lock /sent'. I managed to confirm it's using the file in /root by changing it's name in Muttrc and tried permission at 600 and 777. (Also getting an error Segmentation fault, hoping that will go away if I fix the above.) Anyone any ideas why Mutt