Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2022 14:25:38 +0200
From:      Jan Bramkamp <crest@rlwinm.de>
To:        freebsd-arch@freebsd.org
Subject:   Re: cron @shutdown
Message-ID:  <6c1ce943-bcd8-3a34-f59c-1b60d05f23fa@rlwinm.de>
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
On 02.08.22 16:54, Cy Schubert 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?
How would this interact with signaling and restarting the cron daemon? 
Are there status files or something similar allowing cron to tell a 
`pkill cron` from a `service cron restart` from a real `shutdown -p now`?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c1ce943-bcd8-3a34-f59c-1b60d05f23fa>