Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2022 08:56:35 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: cron @shutdown
Message-ID:  <CANCZdfo9JZzH8GkA%2Bd1ddi6cATfbN1e0%2B5_j3ALDpmgT63EYDQ@mail.gmail.com>
In-Reply-To: <20220802145433.E2DB351D@slippy.cwsent.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
>
>
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 2, 2022, 8:54 AM Cy Schubert &lt;<a href="mailto:Cy.Schubert@cschubert.com">Cy.Schubert@cschubert.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Does anyone think there might be some utility with an @shutdown crontab(5) <br>
&quot;nickname&quot; similar to @reboot but instead when cron shuts down?<br>
<br>
I pointed out to one of my customers that @reboot might be an option <br>
instead of an rc script (or in his case a systemd unit file). Not that an <br>
@reboot for FreeBSD cron would contribute to solving his Linux problem but <br>
might our users be interested in something like this?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">If it&#39;s simple and increases portability, I&#39;m all for it.</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Cheers,<br>
Cy Schubert &lt;<a href="mailto:Cy.Schubert@cschubert.com" target="_blank" rel="noreferrer">Cy.Schubert@cschubert.com</a>&gt;<br>
FreeBSD UNIX:  &lt;cy@FreeBSD.org&gt;   Web:  <a href="http://www.FreeBSD.org" rel="noreferrer noreferrer" target="_blank">http://www.FreeBSD.org</a><br>;
NTP:           &lt;<a href="mailto:cy@nwtime.org" target="_blank" rel="noreferrer">cy@nwtime.org</a>&gt;    Web:  <a href="https://nwtime.org" rel="noreferrer noreferrer" target="_blank">https://nwtime.org</a><br>;
<br>
                        e**(i*pi)+1=0<br>
<br>
<br>
<br>
</blockquote></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfo9JZzH8GkA%2Bd1ddi6cATfbN1e0%2B5_j3ALDpmgT63EYDQ>