Will process still run after disconnecting?
Hi,
I log in to a remote system through ssh (using putty), run a process/command which runs for about a hour, then I got disconnected since my putty doesn't send keepalives. Will the process get killed since my active session got killed? Thanks! |
Of course, nohup is the workaround, but what if I don't use nohup?
|
If you don't want to use nohup then run your command / script from a "one time" cron job.
If you set the time, day and month that gives you a year to remove the cron job before it'll run again. |
Quote:
|
Try this for a cheesy workaround:
Fork it in to the background with &, get the PID then run the following where XXXX is the PID Code:
watch "ps -aux | grep XXXX | grep -v grep" |
All times are GMT -5. The time now is 11:40 AM. |