Thread Perl Skript auf einem Server auführen (16 answers)
Opened by mkk at 2013-09-09 09:49

rosti
 2013-09-09 21:50
#170057 #170057
User since
2011-03-19
3197 Artikel
BenutzerIn
[Homepage]
user image
Quote
Per SSH und das Skript schlicht mit "&"?
Zum "&" heißt es in der Bash ManPage: "If a command is terminated by the control operator &, the shell executes the command in the background in a subshell."


Ja, das ist jedoch nicht alles. Dein SSH/Terminalfenster sendet ein Signal, wenn es geschlossen wird. Du kannst verordnen, dass ein Hang up signal nicht beachtet werden soll:

Code: (dl )
1
2
3
bash-prompt> nohup ./script.pl &

bash-prompt> nohup --help


--Rosti

View full thread Perl Skript auf einem Server auführen