- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cron job
Operating System - HP-UX
1753872
Members
7264
Online
108809
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
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
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-04-2010 06:51 AM
01-04-2010 06:51 AM
Re: cron job
> it goes the same with curl:
And a Forum search for keywords like, say,
telnet expect
might find examples of the use of Telnet in
a script, too. Or, one could use Kermit,
which has its own, built-in scripting
capability.
And a Forum search for keywords like, say,
telnet expect
might find examples of the use of Telnet in
a script, too. Or, one could use Kermit,
which has its own, built-in scripting
capability.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010 08:03 AM
01-04-2010 08:03 AM
Re: cron job
As mentioned above, there are scripting defficincies to say the least in the way you are checking for a running inted.
If inetd is not running, the command "inetd -c" will output "inetd:There is no inetd running" and exit code 1. If inetd is running, "inetd -c" will reload the config file which is harmless if no config changes have been made and exit code 0.
Of course inetd could be running and be in a hung state so as mentioned above, the real test would be to use a service that is started by inetd.
> crontab -e
> but cron job is not running
> i have checked the entry in var/adm/cron/cron.allow file also
This may be a cron problem.
1. What does crontab -l show?
2. Have you checked the cron log file to see if the job is executed or it has errors?
3. Have you checked the root's email to see if cron reports any errors?
If inetd is not running, the command "inetd -c" will output "inetd:There is no inetd running" and exit code 1. If inetd is running, "inetd -c" will reload the config file which is harmless if no config changes have been made and exit code 0.
Of course inetd could be running and be in a hung state so as mentioned above, the real test would be to use a service that is started by inetd.
> crontab -e
> but cron job is not running
> i have checked the entry in var/adm/cron/cron.allow file also
This may be a cron problem.
1. What does crontab -l show?
2. Have you checked the cron log file to see if the job is executed or it has errors?
3. Have you checked the root's email to see if cron reports any errors?
- « 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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP