ntploggps/ntplogtemp: Cron vs Daemon
Richard Laager
rlaager at wiktel.com
Mon Feb 9 20:13:47 UTC 2026
I am still using my day job email on this list. But this question is
mostly me as the Debian package maintainer.
Is there a particular and/or good reason that, in upstream NTPsec,
ntploggps and ntplogtemp are run from cron/systemd timers as opposed to
run as daemons (i.e. from a sysvinit script / systemd service)?
That is, instead of running them with `-o` every 5 minutes, why not have
them be long-running with `-w 300`?
One possible answer might be: When originally written, nobody added Unix
daemonization code (something something double-fork()), so running from
cron was trivial but running from sysvinit was not.
This was pointed out to me in a Debian bug. I am tentatively planning on
switching them to run as daemons.
--
Richard
More information about the devel
mailing list