Thanks, according to your suggestion, the following code work: disown -h -a
• 0 views
•
link
I run the follwing code in conda enviroment:
nohup cat list.txt | parallel --jobs 10 fastq-dump {} --split-3 --gzip -O ./ > log.txt 2>&1 &
After I logging out from the terminal, the log.txt shows :
parallel: SIGHUP received. No new jobs will be started.
Is there anyway to continue the job after logging out?
After command
cat list.txt | parallel --jobs 10 fastq-dump {} --split-3 --gzip -O ./ > log.txt 2>&1 &
you can use jobs -l to get the job pid, then run disown xxx, "xxx" is your job pid, then you can exit shell and won't affect your job.
Thanks, according to your suggestion, the following code work: disown -h -a
Log in to answer this question.
Using screen or tmux are better than
nohup.Thanks for your valuable suggestion!