[wplug] Cron Daemon Message
Jonathan S. Billings
billings at negate.org
Sat Feb 28 15:24:48 EST 2004
Sorry, the -e option is just wrong. Whoops. I'll post the right
command when I figure out what it is. (duh)
On Feb 28, 2004, at 3:19 PM, Jonathan S. Billings wrote:
> Your shell is probably not reporting the exit code of the script, but
> cron is reporting it when it runs. If you are running bash, you can
> 'set -e' to tell the shell to print the return codes of processes.
>
> jonathan
>
>
> On Feb 28, 2004, at 1:55 PM, Gentgeen wrote:
>
>> I have tried running /etc/cron.daily/man-db as root from / but got
>> nothing. Just dumped back to the prompt.
>>
>>
>> On Thu, 26 Feb 2004 08:23:24 -0500
>> "Vanco, Don" <don.vanco at agilysys.com> wrote:
>>
>>> wplug-admin at wplug.org wrote:
>>>> I'm not sure when it started, It was a while ago -- but once
>>>> a day I get the following message from the Cron Daemon:
>>>>
>>>> [--snip--]
>>>> Subject: Cron <root at linuxbox> test -e /usr/sbin/anacron ||
>>>> run-parts --report /etc/cron.daily
>>>> Date: Wed, 25 Feb 2004 06:30:40 -0500
>>>>
>>>> run-parts: /etc/cron.daily/man-db exited with return code 2 [--end
>>>> snip--]
>>>>
>>>>
>>>> This may sound like a silly question to some of you, but I'll
>>>> ask anyway -- What does this mean? (Running Debian Woody
>>>> with 2.4.18 kernel)
>>>
>>> Have you looked at / tried to execute /etc/cron.daily/man-db to see
>>> what the heck it does? I'm not a debian user, but this is where I'd
>>> start
>>> since it appears to be the "problem" (or is not getting the input it
>>> needs
>>> from a precursor). "return code 2" seems a bit ambiguous, but I am
>>> making
>>> the leap of assumption that it's an error.
>>>
>>> Love,
>>> Don
>>> _______________________________________________
>>> wplug mailing list
>>> wplug at wplug.org
>>> http://www.wplug.org/mailman/listinfo/wplug
>> _______________________________________________
>> wplug mailing list
>> wplug at wplug.org
>> http://www.wplug.org/mailman/listinfo/wplug
>>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
More information about the wplug
mailing list