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.

posta un anno fa244 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa
  • I previously found that link, and unfortunately, 'setsid' did not work.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande