LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-13-2011, 11:41 PM   #1
deepthi.deepu
LQ Newbie
 
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
"sending mails through cron jobs:


i want to recieve mails to my emial id for the cron jobs i have assigned in linux command line..

Last edited by XavierP; 06-14-2011 at 03:08 AM. Reason: Moved to Linux-Server
 
Old 06-14-2011, 05:05 AM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
in your crontab at the top put something like:

Code:
MAILTO="deepthi.deepu@some.real.place.com"
You'll also need something that provides a sendmail binary, eg sendmail, postfix, esmtp, etc
 
  


Reply



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
Debian/Lenny - user cron jobs sending status e-mails garydale Linux - Server 4 09-04-2009 12:54 PM
How to check "incorrect mails" before sending it through my mail server? nishith Linux - Server 2 04-21-2009 07:47 AM
cron hourly, daily, cron.d jobs don't execute eggsmartha Linux - General 3 09-17-2007 06:37 PM
simple "echo > qbc" cron jobs doesn't run shole Linux - Newbie 3 09-23-2006 02:09 PM
Extra cron jobs not in "crontab -e"? inspleak Linux - General 2 07-21-2004 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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