Results 1 to 2 of 2

Thread: Mails of CronJob!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Mails of CronJob!

    Hello

    I am using FC4 and I have set different cron jobs, if i set "MAILTO" to any system user i get the mail, but i set it to any outer address then i don't get the mail.What can be the problem?

  2. #2
    I don't know, I just always pipe mail to users in the crontab, e.g.:
    0 0 * * * /bin/foo 2>&1 | mail -s "SUBJECT" someuser@mailserver.com

    Might be worth it to check /var/log/maillog though...
    63,000 bugs in the code, 63,000 bugs,
    ya get 1 whacked with a service pack,
    now there's 63,005 bugs in the code!!

Similar Threads

  1. Others not Receiving my E-Mails
    By outlook0987 in forum Windows - General Topics
    Replies: 1
    Last Post: 10-29-2006, 06:30 PM
  2. Iptables problem sending mails
    By Tekorei in forum Security
    Replies: 4
    Last Post: 02-13-2006, 12:47 PM
  3. receiving e-mails
    By mick.j in forum Windows - General Topics
    Replies: 0
    Last Post: 06-30-2005, 09:19 AM
  4. CronJob - Server load
    By markwaugh in forum Linux - General Topics
    Replies: 1
    Last Post: 07-28-2004, 10:39 AM
  5. cronjob emails me script errors
    By Blaqb0x in forum Programming
    Replies: 2
    Last Post: 07-05-2003, 12:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •