LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Understanding CRON output (https://www.linuxquestions.org/questions/linux-general-1/understanding-cron-output-60655/)

lhoff 05-19-2003 12:19 PM

Understanding CRON output
 
What does the following mean?

/etc/cron.daily/logrotate exited with return code 1

I get it after another statement:
error: syslog:181 duplicate log entry for /var/log/syslog

Does the first line mean that the job ended successfully? (As in, return code 1 is the same as "true"?...)

Thanks!

Half_Elf 05-19-2003 01:17 PM

1 = error
0 = ok

In fact there's hundred of output number like this but most of time you'll only see 0 and 1.

Think like "an error occured : [true or false] "


All times are GMT -5. The time now is 03:35 AM.