Bug#808873: cron-apt never runs

2016-01-17 Thread Ola Lundqvist
Hi Thanks for letting me know. I have added a note about this in the documentation now and uploaded a new version of cron-apt with that note. Cheers, // Ola On Sat, Jan 16, 2016 at 9:54 PM, Jürgen Bausa wrote: > Its a little more complex as I thought first. Running

Bug#808873: cron-apt never runs

2016-01-16 Thread Jürgen Bausa
Its a little more complex as I thought first. Running systemd /etc/default/anacron seems to be ignored. Instead, /etc/systemd/system/anacron.service needs to be changed like ConditionACPower=false with this change anacron runs even on battery. Jürgen

Bug#808873: cron-apt never runs

2016-01-13 Thread Ola Lundqvist
Hi Great to know what the problem was! I'll consider mentioning this in the documentation. Odd. Maybe your previous laptop did not properly report it to the operating system? // Ola On Wed, Jan 13, 2016 at 9:20 PM, Jürgen Bausa wrote: > Ok, that hint helped. > > The

Bug#808873: cron-apt never runs

2016-01-13 Thread Jürgen Bausa
Ok, that hint helped. The problem is, that anacron does not run on battery by default (see Debian Bug report logs - #666390 anacron: change default ANACRON_RUN_ON_BATTERY_POWER to yes). As my laptop always runs on battery, anacron never runs. What I do not understand is why it worked with my

Bug#808873: cron-apt never runs

2016-01-12 Thread Jürgen Bausa
> Please try to enable cron apt through cron.d/cron-apt again. It is > obviously disabled that way. Are you sure? I dont see why it should be disabled. ... 0 4 * * * roottest -x /usr/sbin/cron-apt && /usr/sbin/cron-apt ... If I remember correctly, after installing cron-apt the file

Bug#808873: cron-apt never runs

2016-01-12 Thread Ola Lundqvist
Hi Sorry I missed that. It was enabled. One more question. Do you have this computer running at night time? If not you have to make it run with a @reboot line in the cron file. / Ola Sent from a phone Den 12 jan 2016 23:15 skrev "Jürgen Bausa" : > > Please try to

Bug#808873: cron-apt never runs

2016-01-12 Thread Jürgen Bausa
> One more question. Do you have this computer running at night time? No, it is not running at night. It is a laptop. > > If not you have to make it run with a @reboot line in the cron file. > I thought anacron would take care of that. Am I wrong? All my other systems are able to run

Bug#808873: cron-apt never runs

2016-01-11 Thread Ola Lundqvist
Hi Please try to enable cron apt through cron.d/cron-apt again. It is obviously disabled that way. Also can you send me the contents of ls -l /usr/sbin/anacron If you execute /etc/cron.daily/cron-apt is it executed then? I´m asking as some system do not allow execution on all directories. What

Bug#808873: cron-apt never runs

2016-01-11 Thread Jürgen Bausa
> Please send me the contents of: > /etc/cron.d/cron-apt (when enabled that way) root@lina:/home/jba# cat /etc/cron.d/cron-apt # # Regular cron jobs for the cron-apt package # # Every night at 4 o'clock. 0 4 * * * roottest -x /usr/sbin/cron-apt && /usr/sbin/cron-apt # Every hour. # 0 *

Bug#808873: cron-apt never runs

2016-01-10 Thread Ola Lundqvist
Hi Please send me the contents of: /etc/cron.d/cron-apt (when enabled that way) /etc/crontab /etc/cron-apt (all files) And do a "ls -l /etc/cron.*" and send me the output of that. Your log files is probably useful too. At least check that cron is running something else. You mention that it is

Bug#808873: cron-apt never runs

2016-01-09 Thread Jürgen Bausa
Hi Ola, Am Samstag, 26. Dezember 2015, 16:13:18 schrieben Sie: > Hi Jurgen > > If it is not running something is wrong with the cron daemon. Is 'cron' > running? cron seems to be running: jba@lina:~$ ps axu | grep cron root 525 0.0 0.1 4992 2204 ?Ss Dez25 0:00

Bug#808873: cron-apt never runs

2016-01-09 Thread Jürgen Bausa
Hi Ola, Am Samstag, 26. Dezember 2015, 16:13:18 schrieben Sie: > Hi Jurgen > > If it is not running something is wrong with the cron daemon. Is 'cron' > running? cron seems to be running: jba@lina:~$ ps axu | grep cron root 525 0.0 0.1 4992 2204 ?Ss Dez25 0:00

Bug#808873: cron-apt never runs

2016-01-09 Thread Jürgen Bausa
Hi Ola, Am Samstag, 26. Dezember 2015, 16:14:14 schrieben Sie: > Hi again > > I also see from the bug report that /etc/cron.d/cron-apt was changed. Was > is the new content? > When I noticed, that cron-apt never runs I disabled the entry in /etc/cron.d/cron-apt and instead enabled the link in

Bug#808873: cron-apt never runs

2015-12-26 Thread Ola Lundqvist
Hi again I also see from the bug report that /etc/cron.d/cron-apt was changed. Was is the new content? // Ola On Sat, Dec 26, 2015 at 4:13 PM, Ola Lundqvist wrote: > Hi Jurgen > > If it is not running something is wrong with the cron daemon. Is 'cron' > running? > > Also do

Bug#808873: cron-apt never runs

2015-12-26 Thread Ola Lundqvist
Hi Jurgen If it is not running something is wrong with the cron daemon. Is 'cron' running? Also do you have logs from anything else, maybe you do not have syslog installed? Please also note that by default it is just run once per day (night actually) so you have to check a log of logs. You can

Bug#808873: cron-apt never runs

2015-12-23 Thread Jürgen Bausa
Package: cron-apt Version: 0.9.2 Severity: important Dear Maintainer, on my system, cron-apt is never run. Directly invoking from shell works, but is never run automatically by cron. I noticed this by checking the log. -- System Information: Debian Release: 8.2 APT prefers stable-updates