LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-19-2003, 12:19 PM   #1
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
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!
 
Old 05-19-2003, 01:17 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
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] "
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cron output nelamvr6 Linux - Newbie 3 10-18-2005 07:11 PM
Cron output to a file Temujin_12 Linux - General 5 02-23-2005 01:52 PM
Problem understanding df (diskfree) output for ext2fs wirawan0 Linux - General 1 10-15-2003 08:32 PM
understanding lm_sensors output Pete Dogg Linux - Software 7 10-15-2003 01:28 AM
cron output? sk8guitar Linux - General 4 08-15-2003 01:55 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration