[Bug 1666875] Re: anacron does not execute cron.daily on start or restart
Marcel Krause
1666875 at bugs.launchpad.net
Fri Jul 24 04:05:40 UTC 2020
Sorry for my misleading earlier post. Both parts were wrong.
1. ConditionACPower=no means to run on battery only; to ignore AC, it must be empty.
2. The ANACRON_RUN_ON_BATTERY_POWER flag has no effect when anacron is launched via systemd.
So in conclusion, it was mere coincidence that my approach had seemed to
solve the problem.
--
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