On Fri, Mar 8, 2013 at 4:15 PM, Steven Chamberlain <ste...@pyro.eu.org>wrote:

> On 08/03/13 15:08, Arturo Moral wrote:
> >     # cat /var/spool/anacron/cron.daily
> > 20130308
>
> This means 'cron' was working properly, and it updated the timestamp in
> that file.
>
> What about the file /etc/cron.d/anacron ?  Is it there, what are its
> contents?


# /etc/cron.d/anacron: crontab entries for the anacron package

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

30 7    * * *   root    test -x /etc/init.d/anacron &&
/usr/sbin/invoke-rc.d anacron start >/dev/null



> Also:
>
> $ ls -al /usr/sbin/anacron /etc/init.d/anacron /usr/bin/on_ac_power
>
ls: cannot access /usr/bin/on_ac_power: No such file or directory
-rwxr-xr-x 1 root root 2,0K may 21  2012 /etc/init.d/anacron
-rwxr-xr-x 1 root root  30K jun  2  2012 /usr/sbin/anacron


>
>
> >     # grep daily /var/log/cron.log.1
> >
> > The file /var/log/cron.log.1 does not exist.
>
> Thank you.  On my system (with rsyslogd) that would be created by
> logrotate from cron.daily...  What about this file instead?
>
> # grep daily /var/log/cron.log
>
That file doesn't exist either. I use to check cron outputs in
/var/log/syslog so I ran:

# grep -i daily /var/log/syslog
Mar  8 11:27:51 raspi anacron[1920]: Job `cron.daily' terminated


>
> Thanks.
> Regards,
> --
> Steven Chamberlain
> ste...@pyro.eu.org
>

Reply via email to