- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cron configuration in HP-UX B.11.31
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
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
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
05-19-2013 06:35 AM
05-19-2013 06:35 AM
Cron configuration in HP-UX B.11.31
Hi,
We are running some DB connector application in HP-UX B.11.31 Super Droomm server.
In that application we need to start the application by running start.sh script everyday at 8.00AM.
File location : /WASapp/Dev/DBC/start.sh
Following are the output of some commands.
cron tab -l : 00 08 * * * /WASapp/Dev/DBC/start.sh
who am i : wasadm
more /var/adm/cron/log : > CMD: /WASapp/Dev/DBC/start.sh
Though the cron is run, the application is not started.
When i run the application by selecting the exact script path in CRONTAB , the application starts.
Is there anything that i did wronge here??
Can any one help...?
- Tags:
- cron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2013 01:40 PM
05-19-2013 01:40 PM
Re: cron configuration in HP-UX B.11.31
When you use cron, your .profile isn't sourced. If you have any variable settings, these must be done manually either in your crontab entry or in your script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2013 11:50 PM
05-19-2013 11:50 PM
Re: cron configuration in HP-UX B.11.31
And if the command that is executed by cron returns any error messages, those error messages will be automatically emailed to the user. If local emails are not directed to any central mail server, those emails would end up in the local email inbox... in this case, into the /var/mail/wasadm file.
Reading that file may provide more clues about what is going wrong.