Adding mail to Crontab for checking cron is run or not
-> First your system required to install SSMTP on your machine and configured with your mail id.
-> Then open terminal.
-> Enter crontab -e
->Add below line at the top.
MAILTO=examplemail@gmail.com
-> First your system required to install SSMTP on your machine and configured with your mail id.
-> Then open terminal.
-> Enter crontab -e
->Add below line at the top.
MAILTO=examplemail@gmail.com
0 Response to " setting mail to crontab in ubuntu"
Post a Comment