[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron problem



On Fri, 2002-12-13 at 11:58, Ludwig wrote:
> This only started a week or two ago:  I've been getting emails from the
> cron daemon indicating a problem with /etc/crontab or cron itself.  I've
> tried using crontab to regenerate /etc/crontab, and purging and
> reinstalling cron, and but am still getting the following:

The problem is not with cron itself.

> From: Cron Daemon <root@suspectdevice.dyndns.org>
> To: ludwig@suspectdevice.dynpurging and reinstalling, and dns.org
> Subject: Cron <ludwig@suspectdevice> root        test -e
> /usr/sbin/anacron || run-parts --report /etc/cron.daily

This is the command it was trying to run


So run "/bin/run-parts --verbose  /etc/cron.daily" and see where the
error is occurring.  Then take the offending scripts from
/etc/cron.daily/* and turn on debugging (for example add set -x near the
top of the script) so that you can see what is going wrong.

Then report a bug against the appropriate package.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For thou art my hope, O Lord GOD; thou art my trust 
      from my youth."               Psalms 71:5 



Reply to: