Run scrapy in background (Ubuntu)
If you run your spider with scrapy crawl:

If you want to keep the logs: scrapy crawl my_spider > /path/to/logfile.txt 2>&1 &
If you want to dismiss the logs: scrapy crawl my_spider > /dev/null 2>&1 &
I managed to run a scrapy program in Ubuntu terminal. However, I cannot use Ctrl+Z and bg command to let it run in the background. It will close the spider connection everytime I press Ctrl + Z.
Is there any workaround or ways to solve the issue?