Re: EMail on unexpected reboot

From: Shamim Shahriar <shamim.shahriar_at_gmail.com>
Date: Wed, 15 May 2024 19:11:43 UTC
Cron
@reboot

One of many choices . . .

On Wed, 15 May 2024, 09:43 Dan Mahoney (Ports), <freebsd@gushi.org> wrote:

> Hey there all,
>
> Is there something in the standard rc() structure that detects an unclean
> reboot and can take an action on it, like sending an email?
>
> I’m not so interested in saving a core file or anything like that, just
> that some machines reboot so fast that the usual monitoring can miss it.
>
> Thoughts welcome.
>
> -Dan
> (Will be at BSDCan, say Hi, I’ve got blue hair).
>