Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background service!

Status
Not open for further replies.

jun27

Programmer
Apr 3, 2006
1
GB
Hi I'm wondering,
Is there a way to run an application as a background service on HP-UNIX? I'm a complete noobie! Basically I got an application that runs as an NT service on windows. This application is cross-platform and I am wondering if I could run it as some background service on HP-unix such that even if the user is logged off it still executes in the background?

Please help with information surrounding this.

Regards
James
 
Hi James. man nohup and use & at the end of the command to start the application, like so:

nohup <application start script> &

The nohup prevents the job from being killed when the user who initiated it logs off. HTH.

When one door closes another one bangs shut too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top