Browse - Computer Tips - How can I keep a command going after I logoff.
Q. How can I keep a command going after I logoff.
A. If this happening a lot you mihgt want to formalize it and make a daemon.
Here are examples using `at` and `batch`:
echo 'sleep 2m; echo hello from batch' | batch
echo 'echo hello from at' | at now + 5 minutes
Batch runs your command right away. In this example its sleeping
for a period. But it could be any long-running command.
Then there is nohup, disown, screen, tmux
See their man pages.