LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-02-2006, 06:01 PM   #1
OneBinary
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian Sarge
Posts: 16

Rep: Reputation: 0
Issue with cron mailing results


Hey All,

It appears that I am no longer able to receive system messages, such as those created by a cron job. I created a very simple cron job that echo's a string, which should automatically send me an email with the output of that cron, but I am finding the following in my syslog:

Code:
Jan  2 15:59:01 www /USR/SBIN/CRON[17426]: (root) CMD (echo "hello world")
Jan  2 15:59:01 www /USR/SBIN/CRON[17425]: (root) MAIL (mailed 12 bytes of output but got status 0x00f4 )
Any idea why that is? I did a google search but didn't find anything for "status 0x004f". What should I check?
 
Old 01-02-2006, 06:56 PM   #2
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
well first you should try to mail yourself via the cli with something like nail.. You might get a better error and the delivery system should be the same.
 
Old 01-02-2006, 07:11 PM   #3
OneBinary
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian Sarge
Posts: 16

Original Poster
Rep: Reputation: 0
Would you mind explaining how I would test that?
 
Old 01-02-2006, 08:12 PM   #4
blujay
LQ Newbie
 
Registered: Jan 2005
Posts: 7

Rep: Reputation: 0
apt-cache search nail
apt-get install nail
man nail

That should get you started.
 
Old 01-02-2006, 10:30 PM   #5
OneBinary
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian Sarge
Posts: 16

Original Poster
Rep: Reputation: 0
Oh my bad, I thought that was a typo (thought nail was mail) Thanks I'll play around with that and see how things go.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailing daily logs via cron? ladyath Linux - General 3 03-29-2005 11:51 PM
cron job email results... ryedunn Linux - General 7 01-26-2005 10:27 PM
defining an external smtp server for mailing results of chkroot cron job xfurious_mindx Linux - General 0 03-15-2004 09:23 AM
HELP HELP stop cron from mailing plisken Linux - General 2 03-07-2002 12:22 PM
cron mailing to my account plisken Linux - General 1 02-18-2002 05:10 PM


All times are GMT -5. The time now is 11:40 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