nohup not working

Hi all,

I wrote a scirpt (abc.sh) in which I defined a loop with an interval equal to 1 hour. I want this script continue to run when I close the terminal, so I ran the following command,

(in the proper directory)

nohup abc.sh

However the script doesn't just keep running when I logged off from the Unix box.

Any advises are appreciated.

Try

nohup abc.sh &
1 Like