HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cron Problem
Operating System - HP-UX
1836627
Members
1862
Online
110102
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-14-2006 07:09 PM
02-14-2006 07:09 PM
Re: Cron Problem
This works for me.
Backup and the remove the /usr/spool/cron/.cronaids files and restart the cron daemon.
Backup and the remove the /usr/spool/cron/.cronaids files and restart the cron daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 07:13 PM
02-14-2006 07:13 PM
Re: Cron Problem
As Pete mentioned before, the cron log should contain 2 lines for each command run: a line indicating when the script started and a line to indicate when the script stopped.
But there is one more thing to look into: are you by any chance redirecting output? Could it be that the logfile you are using is not accessable by the script (for instance because the script runs as a user, but you tested it as another) or the directory where the logfiles should reside being removed?
And you might check the mail files for the owner of the crontab and root for any hints. Cron mails a lot of its errors. Also check the mailqueue for messages it cannot send, resulting in being dumped to dead.letter files after multiple retries.
But there is one more thing to look into: are you by any chance redirecting output? Could it be that the logfile you are using is not accessable by the script (for instance because the script runs as a user, but you tested it as another) or the directory where the logfiles should reside being removed?
And you might check the mail files for the owner of the crontab and root for any hints. Cron mails a lot of its errors. Also check the mailqueue for messages it cannot send, resulting in being dumped to dead.letter files after multiple retries.
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 08:12 PM
02-14-2006 08:12 PM
Re: Cron Problem
Hi,
have you look at the elm for the user where script ran?
you don't redirect output to a file it's mailed to the user.
HTH,
Art
have you look at the elm for the user where script ran?
you don't redirect output to a file it's mailed to the user.
HTH,
Art
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP