Operating System - HP-UX
1847211 Members
2414 Online
110263 Solutions
New Discussion

Running processes when timeout is set

 
abhijeet_7
Advisor

Running processes when timeout is set

Hello Gurus,

I have SUN(solaris 8) boxes for my primary
application server.
For security reasons ,we have kept a time-out
for "Putty","X-mamgers" or"SSH secure shell"

i want to run a script or a command & it should continue even though time-out is set.

i tried to "tail -f " a log file & kept it logged in a .txt file..but being timeout,my .txt file shows output only for that set time.
i also want my processes to run even though i close my putty session.

How can i do it?

Thanx in advance
ABHI K
we work, to become...not acquire
1 REPLY 1
Keith Bryson
Honored Contributor

Re: Running processes when timeout is set

Hi there

Have you tried using:

nohup {command} &

nohup prevents the OS from killing the job on terminal session exit. The & submits the job to background.

All the best - Keith
Arse-cover at all costs