LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2006, 12:11 PM   #1
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Rep: Reputation: 15
Admin Software


I'm looking for a couple solutions.
I want to have my cron and log daemons to email the results of certain (or all) tasks to me at my gmail address. What's the best way to approach this?
 
Old 03-29-2006, 12:24 PM   #2
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
OOps, wrong thread. Mod's feel free to move this to Networking.
 
Old 03-29-2006, 12:31 PM   #3
ckoniecny
Member
 
Registered: Oct 2005
Posts: 162

Rep: Reputation: 30
Well you can do the following:

mail -s "Cron Log `date +%m-%d-%Y`" user@gmail.com < /var/spool/cron/crontabs/root
 
Old 03-29-2006, 12:36 PM   #4
CPUFreak91
Member
 
Registered: Jul 2005
Location: Mars
Distribution: Gentoo Linux
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ckoniecny
Well you can do the following:

mail -s "Cron Log `date +%m-%d-%Y`" user@gmail.com < /var/spool/cron/crontabs/root
Thanks! I get this error though:
Code:
send-mail: Cannot open mail:25
Can't send mail: sendmail process failed with error code 1
 
  


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
2K admin now RHEL4 admin (I have some questions) wilsryan Red Hat 5 01-30-2006 12:18 PM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
installing additional software as admin? radiojohn Linux - Newbie 2 08-07-2004 01:37 PM
Admin network software fanicate Linux - Software 1 01-27-2004 04:14 PM
Who's Admin? Thymox LQ Suggestions & Feedback 4 04-13-2002 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration