HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'cron daemon' cannot be started automatically ...
Operating System - HP-UX
1837962
Members
2596
Online
110124
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
01-03-2005 06:24 PM
01-03-2005 06:24 PM
'cron daemon' cannot be started automatically after it have been dead.
I had faced the problem that 'cron daemon' could not be started automatically by itself when it died. So I checked the '/etc/inittab' file, there is no line about 'cron' so that I decided to put it in the '/etc/inittab' file. It works; but sometimes it gives me some errors that 'cron have been already started. This program will be started again in 5 minutes', which means that this error message will display every 5 minutes; and some progroms which have been already scheduled cannot be started by 'cron daemon'.
What should I do with 'cron daemon' to let it restart automatically after it dies without any errors?
What should I do with 'cron daemon' to let it restart automatically after it dies without any errors?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 06:47 PM
01-03-2005 06:47 PM
Re: 'cron daemon' cannot be started automatically after it have been dead.
Hi,
The following two ways exist for daemons start up: to put appropriate script into /sbin/rcN.d and to add a string into /etc/inittab.
AFAIK, crontab is startud up in /sbin/rc2.d
If you prefer to use inittab instead of this,
edit the file /etc/rc.config.d/cron and set CRON=0
In this case cron daemon will not be started up when the computers goes up.
HTH
The following two ways exist for daemons start up: to put appropriate script into /sbin/rcN.d and to add a string into /etc/inittab.
AFAIK, crontab is startud up in /sbin/rc2.d
If you prefer to use inittab instead of this,
edit the file /etc/rc.config.d/cron and set CRON=0
In this case cron daemon will not be started up when the computers goes up.
HTH
Entities are not to be multiplied beyond necessity - RTFM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2005 07:55 PM
01-03-2005 07:55 PM
Re: 'cron daemon' cannot be started automatically after it have been dead.
Hi
Instead of starting cron in inittab write a script which checks for cron running and starts it if it is not.
Put that in inittab and then no messages
Steve Steel
Instead of starting cron in inittab write a script which checks for cron running and starts it if it is not.
Put that in inittab and then no messages
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
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