cron job doesn't output to nohup.out
问题 i have start.sh bash script that is running though CRON JOB on ubuntu server start.sh contains bellow mentioned lines of code path of start.sh is /home/ubuntu/folder1/folder2/start.sh #!/bin/bash crawlers(){ nohup scrapy crawl first & nohup scrapy crawl 2nd & wait $! nohup scrapy crawl 3rd & nohup scrapy crawl 4th & wait } cd /home/ubuntu/folder1/folder2/ PATH=$PATH:/usr/local/bin export PATH python init.py & wait $! crawlers python final.py my issue is if i run start.sh my myself on command