- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- running a script from inittab
Operating System - HP-UX
1824976
Members
3847
Online
109678
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
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО11-02-2006 10:57 AM
тАО11-02-2006 10:57 AM
I am in a bind and a hurry, I have an outside vendor running a c script to manipulate data and move it. They prefer to have it run out of inittab since it sleeps and wakes up and looks for files. Does anyone know how to do this? The script and sourcefile are in /usr/local/bin, and I would need to cd to /usr/local/bin then run the job as the srcfile is called from the job not with a full path name. I don't know how much if any of this makes sense, but it is one of those weeks where I am in training and my regular job to do too and I need help! Thank you for your time. btw hpux11.11
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 02:49 PM
тАО11-02-2006 02:49 PM
Solution
First do a man inittab; it's all rather self-explanatory. The only thing that may not be clear is that the action field should be "respawn". Each time your process terminates (ie the sleep ends) it will terminate and init will automatically restart the process. Make sure that all needed environment variables such as PATH are explicitly set in the script itself because the environment will be very sparse.
Once you edit inittab and add your entry; issue and "init q" command so that init will reread inittab and process your new entry.
Once you edit inittab and add your entry; issue and "init q" command so that init will reread inittab and process your new entry.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2006 01:57 AM
тАО11-03-2006 01:57 AM
Re: running a script from inittab
perfect, thank you
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP