diff options
Diffstat (limited to 'Executing background tasks from a script.md')
-rw-r--r-- | Executing background tasks from a script.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Executing background tasks from a script.md b/Executing background tasks from a script.md new file mode 100644 index 0000000..7db07be --- /dev/null +++ b/Executing background tasks from a script.md @@ -0,0 +1,7 @@ +--- +tags: + - bash +--- +[[Bash]] [[Executing bash commands as another user]] + +The easiest way I've found is via tmux: `tmux -d new-session -s somename 'command'`. Stuff with `nohup` and `&` tends to be a little bit painful. Especially so when executing this over ssh.
\ No newline at end of file |