- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron jobs not executing
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
03-25-2002 11:28 AM
03-25-2002 11:28 AM
> CMD: /home/root/shutsys.sh
> root 25379 c Mon Mar 25 12:00:00 CST 2002
The script is simple:
cd /
/sbin/shutdown -yr 0
This script has run for a few years w/o problems. Any suggestions?
John Ferrara
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 11:35 AM
03-25-2002 11:35 AM
Re: Cron jobs not executing
the common places to start looking are permissions on the script file and the file itself. But in your case, I'd agree with Harry. Since there's only one line in the script, seems easier to use the command. Plus, you know the permissions, etc should be right.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 11:46 AM
03-25-2002 11:46 AM
Re: Cron jobs not executing
Has the script been changed? Permissions on the script? Anything in /etc/shutdownlog, /etc/rc.log, root's mail? /sbin/shutdown permissions? What's changed since the last time it ran successfully?
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 11:55 AM
03-25-2002 11:55 AM
Re: Cron jobs not executing
The shutdown.allow file was 0 bytes. I populated it w/ my userid & root.
I modified ../crontabs/root to run the command directly instead of the small script.
I think it should work now. I also modified another cron entry that ran a file deletion script ( rm /tmp/CTT* ). I also put the command directly on the cron line. I'll let you lnow if it works.
Thanks,
John Ferrara