Friday, February 4, 2011

Keep a process running after disconnecting SSH session

nohup: run a command immune to hangups, with output to a non-tty


Run a process in the background (keep it running after SSH session is disconnected):
nohup command &

or

Schedule a command to run later:
echo "command" | at now + 30 minute

0 comments:

Post a Comment

 
Contact our honeypot department if you are desperate to get blacklisted.