home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12594 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.2 KB

  1. Path: sparky!uunet!portal!lll-winken!parc!decwrl!sdd.hp.com!hp-col!fc.hp.com!rodean
  2. From: rodean@fc.hp.com (Bruce Rodean)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Mail from cron jobs
  5. Message-ID: <Bx9F68.G0B@fc.hp.com>
  6. Date: 5 Nov 92 20:20:32 GMT
  7. References: <1992Nov5.152048.429@hp9000.csc.cuhk.hk>
  8. Sender: news@fc.hp.com (news daemon)
  9. Organization: Hewlett-Packard Co., Fort Collins, CO
  10. Lines: 19
  11. X-Newsreader: TIN [version 1.1.4 PL6]
  12.  
  13. Wong Siu To (a866700@hp9000.csc.cuhk.hk) wrote:
  14. > Hi there,
  15. > Could anyone please tell me how to stop the cron jobs from sending mail
  16. > note to the user who schedules cron jobs ?  I've cron jobs run every 5
  17. > minutes, and there're many job log mailed to my account.
  18.  
  19. Make sure stdout and stderr are redirected somewhere (if you don't want
  20. the output, /dev/null is the file to use).  If there's output from a
  21. cron job, it will get mailed to the user as you've noticed.  See the
  22. WARNINGS section in the crontab(1) manual entry.
  23.  
  24. --
  25. Bruce Rodean                          Hewlett-Packard Company
  26. rodean@fc.hp.com
  27.  
  28. This does not reflect the official position of Hewlett-Packard Company
  29. in any way, shape or form.  Everyone else in the company may disagree
  30. with what I say.
  31.