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.

demandé il y a un an244 vues
1 réponse
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
EXPERT
répondu il y a un an
  • I previously found that link, and unfortunately, 'setsid' did not work.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions