0

How to configure a server reboot alert on email?

How to automate the server reboot alert to my personal Email?

stewart
asked Mar 11, 2019
edited
1 Answer
1

Hi Stewart welcome to linuxhelp Forum !

This can be acheived through the cron job

Follow the Below Procedure to configure Cronjob

#crontab -e
@reboot mail -s "$(hostname) was rebooted at: `date +%m.%d.%Y.%H.%M`" youremail@gmail.com
#systemctl start crond.service
View More
linuxhelp
answered Mar 11, 2019
Your Answer
||||
 
100:0