3 ms·
Add this line to (vixie) cron: @reboot /bin/date | /usr/bin/mail -s "$(/bin/hostname) booted" root@example.com If you don't want to configure postfix as a
by lloeki 12y ago
Add this line to (vixie) cron:
@reboot /bin/date | /usr/bin/mail -s "$(/bin/hostname) booted" root@example.com
If you don't want to configure postfix as a smarthost (which is not that hard and recommended if only to have mail queued for retry), use ssmtp.