[Bug 1666875] Re: anacron does not execute cron.daily on start or restart
Cliff Carson
1666875 at bugs.launchpad.net
Tue Oct 30 18:17:28 UTC 2018
Don't fully understand the interaction between systemd-anacron-cron but
in my system at boot systemd starts multi-user.target-
wants/anacron.service calling anacron -dsq which should kick off a job
to rotate the logs. This doesn't get started because of the
ConditionACPower=true in the anacron.service file. Since always start
my laptop on battery the condition is never met. Unsure of what
event/process is supposed call anacron.service when the power cable is
plugged or after it is plugged other than a reboot. Going to remove
this condition from the anacron.service file.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/1666875
Title:
anacron does not execute cron.daily on start or restart
Status in anacron package in Ubuntu:
Confirmed
Bug description:
I have an Ubuntu 16.10, setup with a cron.daily script. If I run the
script manually and with run-parts it works. Also, if I left the
computer on, then the script is run correctly.
However, if I turn off the computer and turn it on after the set
anacron executing time (by default 7:30) then the cron.daily is never
executed.
System info:
$ lsb_release -rd
Description: Ubuntu 16.10
Release: 16.10
$ apt-cache policy anacron
anacron:
Installed: 2.3-23
Candidate: 2.3-23
Version table:
*** 2.3-23 500
500 http://br.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/1666875/+subscriptions
More information about the foundations-bugs
mailing list