/ Linux

Reboot notification

You can set up cron to send you an email notification when the server rebooted. Just run

crontab -e

and enter the following line

@reboot echo hostname --fqdn "has been restarted" | mail -s "system restart" user@example.com

Reboot notification
Share this