Why does unix 'nohup' not work for me.

0

I use Ubuntu and previously (few years ago) used: 'nohup ...job... &' to run a long job, exit, then later login to see the job in progress or completed. It worked back then, but not now! Maybe AWS now handles disconnects differently. I tried many suggestions on internet (eg: disown) but all failed. EDIT: setsid also did not work.

gefragt vor einem Jahr244 Aufrufe
1 Antwort
0

Hi, see answer to https://unix.stackexchange.com/questions/432258/issues-with-nohup-on-linux-instance-on-ec2-amazon-web-services

the final comment explains why setsid may be your solution

profile pictureAWS
EXPERTE
beantwortet vor einem Jahr
  • I previously found that link, and unfortunately, 'setsid' did not work.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen