Home » Infrastructure » Unix » How to run a unix shell script in the background?
How to run a unix shell script in the background? [message #110450] Mon, 07 March 2005 14:05 Go to next message
geeklol
Messages: 59
Registered: March 2005
Member
I have a unix shell script that calls a bunch of stored procedures etc..
How do i run this script in the background?
i tried run &runeurope.sh
runeurope.sh is the name of the shell script.
But the above syntax looks like it did not run in the backgound.
thank you.
Re: How to run a unix shell script in the background? [message #110546 is a reply to message #110450] Tue, 08 March 2005 10:14 Go to previous messageGo to next message
uwoodde
Messages: 3
Registered: March 2005
Junior Member
Hallo,

try this

./runeurope.sh &

this will work.

Greetz
Ulli
Re: How to run a unix shell script in the background? [message #110550 is a reply to message #110450] Tue, 08 March 2005 10:18 Go to previous message
Frank
Messages: 7901
Registered: March 2000
Senior Member
If you want to be able to exit your session before the script has finished use nohup (=No HangUp):
nohup ./runeurope.sh &

hth
Previous Topic: Urgent require shell script to read a flat file
Next Topic: How to read the out variables of a oracle stored procedure
Goto Forum:
  


Current Time: Thu Mar 28 14:54:15 CDT 2024