Results 1 to 1 of 1
This is the problem that drives me crazy. I let a script A (a.sh) call script B (b.sh).
I used
Code:
nohup a.sh &>/tmp/log &
In script A it calls ...
- 05-27-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 1
Why my script is always "stopped" ?
This is the problem that drives me crazy. I let a script A (a.sh) call script B (b.sh).
I used
In script A it calls B directly, without any redirecting or nohup or background.Code:nohup a.sh &>/tmp/log &
Script A:
Script B:Code:#do nothing but call B ssh another-machine "/user/tom/b.sh"
I usedCode:# do some fancy things, takes about 1 hour to finish ...
It was "stopped" after 5 minutes but B was running and B finished correctly.Code:nohup a.sh &>/tmp/log &
Anybody knows why?
BTW, if I don't use nohup and backgrounding, it's OK. i.e. if I use
directly. Everything is OK. I am totally confused.Code:a.sh


Reply With Quote