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>
References:  <20220802145433.E2DB351D@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000543e5405e5435396
Content-Type: text/plain; charset="UTF-8"

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
>
>
>
>

--000000000000543e5405e5435396
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Tue, Aug 2, 2022, 8:54 AM Cy Schubert &lt;<a href=
=3D"mailto:Cy.Schubert@cschubert.com">Cy.Schubert@cschubert.com</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-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?<b=
r>
<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=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"=
auto">If it&#39;s simple and increases portability, I&#39;m all for it.</di=
v><div dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=
=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Cheers,<br>
Cy Schubert &lt;<a href=3D"mailto:Cy.Schubert@cschubert.com" target=3D"_bla=
nk" rel=3D"noreferrer">Cy.Schubert@cschubert.com</a>&gt;<br>
FreeBSD UNIX:=C2=A0 &lt;cy@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a href=
=3D"http://www.FreeBSD.org" rel=3D"noreferrer noreferrer" target=3D"_blank"=
>http://www.FreeBSD.org</a><br>;
NTP:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"mailto:cy@nwtim=
e.org" target=3D"_blank" rel=3D"noreferrer">cy@nwtime.org</a>&gt;=C2=A0 =C2=
=A0 Web:=C2=A0 <a href=3D"https://nwtime.org" rel=3D"noreferrer noreferrer"=
 target=3D"_blank">https://nwtime.org</a><br>;
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 e**(i*pi)+1=3D0<br>
<br>
<br>
<br>
</blockquote></div></div></div>

--000000000000543e5405e5435396--



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