N nservices Verified User Joined Dec 11, 2008 Messages 302 Apr 9, 2012 #1 Hi, how can we change the notification email for cron jobs so after the cron is run, this mail will get the notifications instead of the default email. Best Regards, StarNetwork.
Hi, how can we change the notification email for cron jobs so after the cron is run, this mail will get the notifications instead of the default email. Best Regards, StarNetwork.
scsi Verified User Joined Aug 19, 2008 Messages 4,539 Apr 9, 2012 #2 crontab -e add a line at the top that says: MAILTO="[email protected]" or echo "[email protected]" >/root/.forward
crontab -e add a line at the top that says: MAILTO="[email protected]" or echo "[email protected]" >/root/.forward