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" <juergen.ba...@online.de>:

> > 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     * * *   root    test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
> ...
>
> If I remember correctly, after installing cron-apt the file
> cron.d/cron-apt was
> disabled by adding .something. Instead a link can be found under
> cron.daily. I
> removed the .something from cron.d/cron-apt. So in principle cron-apt shoul
> now be run by two independent mechanism (cron.d and cron.daily).
>
>
> > Also can you send me the contents of
> >
> > ls -l /usr/sbin/anacron
>
> jba@lina:/etc/cron.d$  ls -l /usr/sbin/anacron
> -rwxr-xr-x 1 root root 34064 Dez 28  2014 /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.
>
> It is running fine. I can see it in the logs.
>
> >
> > What else can you find in the logs about cron?
>
> There is nothing in messages and kern.log. But a lot in syslog. E.g.:
>
> Jan  9 13:18:52 lina cron[527]: (CRON) INFO (pidfile fd = 3)
> Jan  9 13:18:52 lina cron[527]: (CRON) INFO (Running @reboot jobs)
> Jan  9 13:59:40 lina cron[548]: (CRON) INFO (pidfile fd = 3)
> Jan  9 13:59:40 lina cron[548]: (CRON) INFO (Running @reboot jobs)
> Jan  9 17:17:01 lina CRON[2403]: (root) CMD (   cd / && run-parts --report
> /etc/cron.hourly)
> Jan  9 17:41:32 lina cron[2745]: (CRON) INFO (pidfile fd = 3)
> Jan  9 17:41:32 lina cron[2745]: (CRON) INFO (Skipping @reboot jobs -- not
> system startup)
> Jan  9 17:41:49 lina cron[2759]: (CRON) INFO (pidfile fd = 3)
> Jan  9 17:41:49 lina cron[2759]: (CRON) INFO (Skipping @reboot jobs -- not
> system startup)
> Jan  9 22:10:34 lina cron[3526]: (CRON) INFO (pidfile fd = 3)
> Jan  9 22:10:34 lina cron[3526]: (CRON) INFO (Skipping @reboot jobs -- not
> system startup)
> Jan  9 22:17:01 lina CRON[3716]: (root) CMD (   cd / && run-parts --report
> /etc/cron.hourly)
> Jan  9 22:26:50 lina cron[3910]: (CRON) INFO (pidfile fd = 3)
> Jan  9 22:26:50 lina cron[3910]: (CRON) INFO (Skipping @reboot jobs -- not
> system startup)
> Jan  9 22:34:57 lina cron[4170]: (CRON) INFO (pidfile fd = 3)
> Jan  9 22:34:57 lina cron[4170]: (CRON) INFO (Skipping @reboot jobs -- not
> system startup)
> Jan 11 20:37:15 lina cron[528]: (CRON) INFO (pidfile fd = 3)
> Jan 11 20:37:15 lina cron[528]: (CRON) INFO (Running @reboot jobs)
> Jan 11 22:03:19 lina cron[557]: (CRON) INFO (pidfile fd = 3)
> Jan 11 22:03:19 lina cron[557]: (CRON) INFO (Running @reboot jobs)
> Jan 11 22:17:01 lina CRON[2584]: (root) CMD (   cd / && run-parts --report
> /etc/cron.hourly)
> Jan 12 22:40:54 lina cron[542]: (CRON) INFO (pidfile fd = 3)
> Jan 12 22:40:54 lina cron[542]: (CRON) INFO (Running @reboot jobs)
>
>
> Jürgen
>

Reply via email to