- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cron is sending mail.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 10:47 PM
тАО11-18-2009 10:47 PM
Cron is sending mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 11:28 PM
тАО11-18-2009 11:28 PM
Re: Cron is sending mail.
you can comment that line.
HTH,
Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 11:39 PM
тАО11-18-2009 11:39 PM
Re: Cron is sending mail.
Vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2009 11:44 PM
тАО11-18-2009 11:44 PM
Re: Cron is sending mail.
Please see the below thread.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1258616571464+28353475&threadId=1232134
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 12:30 AM
тАО11-19-2009 12:30 AM
Re: Cron is sending mail.
I have tried that, but its not working,
and my /etc/crontab looks as :
MAILTO=""
01 * * * * root run-parts /etc/cron.hourly >> /var/log/cron 1 <&2
etc.
And I dont want mails from cron. What should i do?
Thanks
Vinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 03:17 AM
тАО11-19-2009 03:17 AM
Re: Cron is sending mail.
can you change the entry in crontab like below and let me know
01 * * * * root run-parts /etc/cron.hourly >> /var/log/cron 2>&1
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2009 07:11 AM
тАО11-19-2009 07:11 AM
Re: Cron is sending mail.
01 * * * * root run-parts /etc/cron.hourly > /dev/null 2>>&1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2009 10:19 AM
тАО11-21-2009 10:19 AM
Re: Cron is sending mail.
By redirecting stdout and stderr in root's crontab, for each entry, either to a file or /dev/null.
Or for each script, do it inside.
>MAILTO=""
This doesn't exist for HP-UX.
>Aneesh: Please see the below thread.
That's Linux only.