Re: cron @shutdown

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 02 Aug 2022 14:56:35 UTC
On Tue, Aug 2, 2022, 8:54 AM Cy Schubert <Cy.Schubert@cschubert.com> wrote:

> Hi,
>
> Does anyone think there might be some utility with an @shutdown crontab(5)
> "nickname" similar to @reboot but instead when cron shuts down?
>
> I pointed out to one of my customers that @reboot might be an option
> instead of an rc script (or in his case a systemd unit file). Not that an
> @reboot for FreeBSD cron would contribute to solving his Linux problem but
> might our users be interested in something like this?
>


If it's simple and increases portability, I'm all for it.

Warner

> --
> Cheers,
> Cy Schubert <Cy.Schubert@cschubert.com>
> FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org
> NTP:           <cy@nwtime.org>    Web:  https://nwtime.org
>
>                         e**(i*pi)+1=0
>
>
>
>