Re: cron @shutdown

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <CANCZdfo9JZzH8GkA+d1ddi6cATfbN1e0+5_j3ALDpmgT63EYDQ@mail.gmail.com>
On Tue, Aug 2, 2022, 8:54 AM Cy Schubert <[email protected]> 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 <[email protected]>
> FreeBSD UNIX:  <[email protected]>   Web:  http://www.FreeBSD.org
> NTP:           <[email protected]>    Web:  https://nwtime.org
>
>                         e**(i*pi)+1=0
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.