LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cron daily error messages (https://www.linuxquestions.org/questions/linux-software-2/cron-daily-error-messages-17346/)

lhoff 03-30-2002 06:27 AM

cron daily error messages
 
I'm getting daily mail from cron saying:
"run-parts: /etc/cron.daily/inn-cron-expire exited with return code 1"

What is code 1?

Thanks!

taz.devil 03-30-2002 11:51 AM

I believe code 1 just means failure so it exited. If you wanna edit what cron jobs are run, type:

crontab -e username<--whoever your user is...

There may be a cron job (or a few) you don't even need in there.

Sixpax 03-30-2002 01:43 PM

Actually, that won't work.

They added a twist with RD and MDK cron... they setup some directories that cron checks and runs whatever scripts are in them accordingly. For example:

/etc/cron.weekly - has scripts that run weekly
/etc/cron.monthly - has scripts that run monthly

and so on and so forth.

One of the scripts in your /etc/cron.daily directory is failing for some reason. I'm not sure what "inn-cron-expire" does. Maybe you could post the contents of that script for us.

mikek147 03-30-2002 02:17 PM

'inn' is a news transport system. Is there a possibility that 'inn' was installed then removed? If 'inn' is no longer installed on your system, go to /etc/cron-daily and remove the inn-* file. -mk


All times are GMT -5. The time now is 05:03 PM.