- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with cron
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
Forums
Discussions
Discussions
Discussions
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
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
10-16-2003 07:40 PM
10-16-2003 07:40 PM
Problem with cron
Thanks
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:43 PM
10-16-2003 07:43 PM
Re: Problem with cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:43 PM
10-16-2003 07:43 PM
Re: Problem with cron
If this doesnt fix it is sendmail running ?
ps -aef|grep -i sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:50 PM
10-16-2003 07:50 PM
Re: Problem with cron
hpehq1>more log
! *** cron started *** pid = 2709 Thu Oct 16 20:18:03 BST 2003
> CMD: /usr/lbin/sa/sa1
> root 4907 c Thu Oct 16 21:00:00 BST 2003
< root 4907 c Thu Oct 16 21:00:00 BST 2003
> CMD: /usr/local/bin/backup_openmail
> root 7027 c Thu Oct 16 22:00:00 BST 2003
> CMD: /var/trend/smom12/install_ptn
> root 7028 c Thu Oct 16 22:00:00 BST 2003
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:52 PM
10-16-2003 07:52 PM
Re: Problem with cron
And of course: .forward and aliases could result in mail sent to a wrong account, resulting in you missing the mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:53 PM
10-16-2003 07:53 PM
Re: Problem with cron
For 'belt and braces' you could also force the cron to refresh its lookup of the crontab file by doing a crontab -e and the quitting without making any amendments.
Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 07:55 PM
10-16-2003 07:55 PM
Re: Problem with cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 08:46 PM
10-16-2003 08:46 PM
Re: Problem with cron
Do you mean your cron job is sending mails or that the cron job is producing output that cron mail (becuase that it's default behaviour).
In either case, it would be worth running the job from the command line to see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 08:57 PM
10-16-2003 08:57 PM
Re: Problem with cron
cron is not emailing the output from the cron job. It has worked fine for over 3 years I have been looking after this server, and stopped over last weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2003 09:01 PM
10-16-2003 09:01 PM
Re: Problem with cron
I would log in as the user this job runs as within cron and send an e-mail using the "mail" command to root and see if that succeeds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 12:14 AM
10-17-2003 12:14 AM
Re: Problem with cron
To test if the problem is job or server/cron/sendmail related, you could add a job to your crontab that surely sends output, for instance an echo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 01:31 AM
10-17-2003 01:31 AM
Re: Problem with cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 01:44 AM
10-17-2003 01:44 AM
Re: Problem with cron
Does /usr/lib/sendmail -v root < /dev/null work OK ?