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 /usr/sbin/cron -f jba 5544 0.0 0.1 4560 2160 pts/1 S+ 18:52 0:00 grep cron > > Also do you have logs from anything else, maybe you do not have syslog > installed? I have logs: jba@lina:~$ ll -t /var/log/ insgesamt 6404588 -rw-rw-r-- 1 root utmp 1022976 Dez 26 18:52 wtmp -rw-r----- 1 root adm 730070 Dez 26 18:50 auth.log -rw-r----- 1 root adm 2188185837 Dez 26 18:50 syslog -rw-r----- 1 root adm 9194198 Dez 26 18:35 daemon.log -rw-r----- 1 root adm 13263948 Dez 26 18:34 messages -rw-r----- 1 root adm 408590 Dez 26 18:34 user.log -rw-r----- 1 root adm 2178386631 Dez 26 18:34 kern.log -rw-r----- 1 root adm 2165081044 Dez 26 18:34 debug rsyslog is installed: jba@lina:~$ list_installed syslog ii rsyslog 8.4.2-1+deb8u1 i386 reliable system and kernel logging daemon jba@lina:~$ apt-cache policy rsyslog rsyslog: Installiert: 8.4.2-1+deb8u1 Installationskandidat: 8.4.2-1+deb8u1 Versionstabelle: *** 8.4.2-1+deb8u1 0 500 http://ftp.de.debian.org/debian/ jessie/main i386 Packages 100 /var/lib/dpkg/status > > Please also note that by default it is just run once per day (night > actually) so you have to check a log of logs. The logs in /var/log do not contain any output from cron-apt. All the messages seem to be send to /var/log/cron-apt/log. However, this file contains only one entry - it was made when I started cron-apt manually. > > You can check the logs like this: > grep -i cron-apt /var/log/* > Not much. root@lina:/var/log/cron-apt# grep -i cron-apt /var/log/* grep: /var/log/apt: Ist ein Verzeichnis grep: /var/log/cron-apt: Ist ein Verzeichnis grep: /var/log/cups: Ist ein Verzeichnis /var/log/dpkg.log:2015-09-05 14:00:32 install cron-apt:all <keine> 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status half-installed cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 configure cron-apt:all 0.9.2 <keine> /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status unpacked cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status half-configured cron-apt:all 0.9.2 /var/log/dpkg.log:2015-09-05 14:00:32 status installed cron-apt:all 0.9.2 grep: /var/log/exim4: Ist ein Verzeichnis grep: /var/log/firebird: Ist ein Verzeichnis grep: /var/log/fsck: Ist ein Verzeichnis grep: /var/log/hp: Ist ein Verzeichnis grep: /var/log/installer: Ist ein Verzeichnis grep: /var/log/speech-dispatcher: Ist ein Verzeichnis /var/log/syslog:Dec 22 21:25:01 lina cron[529]: (*system*cron-apt) RELOAD (/etc/cron.d/cron-apt) grep: /var/log/unattended-upgrades: Ist ein Verzeichnis Hope this helps. Juergen > If you see any lines there it has been run. > > Cheers, > > // Ola > > On Thu, Dec 24, 2015 at 12:16 AM, Jürgen Bausa <juergen.ba...@online.de> > > wrote: > > 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 > > APT policy: (500, 'stable-updates'), (500, 'stable') > > > > Architecture: i386 (i686) > > > > Kernel: Linux 4.2.8-040208-generic (SMP w/2 CPU cores) > > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/dash > > Init: systemd (via /run/systemd/system) > > > > Versions of packages cron-apt depends on: > > ii apt 1.0.9.8.1 > > > > Versions of packages cron-apt recommends: > > ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2 > > ii cron 3.0pl1-127+deb8u1 > > ii liblockfile1 1.09-6 > > > > cron-apt suggests no packages. > > > > -- Configuration Files: > > /etc/cron-apt/action.d/3-download changed: > > autoclean -y > > dist-upgrade -y -o APT::Get::Show-Upgraded=true > > > > /etc/cron.d/cron-apt changed: > > > > > > -- no debconf information