user crontab and msmtp packages not working together ?
Have you also troubles with user crontab and msmtp packages to be working together ?
configure well your msmtp to send email
echo "test yes" | mutt robert
it works, OK,
example, as user, edit crontab
You too ?
I used :
nbsmtp and it is working :)
seems that there is BUGS somewhere
cron runs a minimal shell not the one you inherit when you type on command line.
Put in full path to echo command and to mutt command and it will likely work. e.g.
Finally: There could be issues with quoting as it is being processed by cron and then by the shell whereas your command line is only going to the shell directly. I doubt that is an issue in your example though but it is something to keep in mind for more complicated command lines.
|All times are GMT -5. The time now is 06:22 PM.|