On Sun, 16 Feb 2020 15:16:09 +0000, Roger Bell_West wrote:
> On 2020-02-16, Adam Funk wrote:
>>I want the cron.daiy jobs to run earlier in the morning than they do by
>>default. I used to do this by editing the time in /etc/cron.d/anacron,
>>but that no longer works; nor does changing the time in the cron.daily
>>line of /etc/crontab. How is this controlled now?
>
> Welcome to the systemd snake pit. There will be an undocumented command
> somewhere to change it, but why would you want to override systemd's
> defaults, which are perfect for every computer and every usage pattern?
Look at "man 8 cron" to see how crond is run, including under systemd.
These days crond only handles the jobs that run more frequently than
daily as well as those with their own run schedule, i.e those the run
several times a day or to a more complex run schedule. It also has useful
references to other manpages.
For jobs that run daily, weekly or monthly, see at "man 8 anacron" for
details of the controlling daemon, anacron, and "man anacrontab" to see
how to configure anacron, including changing the time of day these jobs
will be run at.
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|