I have a script written with the scrapy
framework on python.
I can successfully run the script by running scrapy crawl mycrawler
and it runs in the console.
I can also successfully run the script via a shell script sh job.sh
with scrapy crawl mycrawler
.
However when it comes to CRON
and scheduling the task I cannot get it to complete.
I have tried everything here Scrapy crawler in Cron job which includes multiple things about the path etc etc.
I can successfully run the job.sh
from cron and can debug that starts/finishes but just gives no output for the scrapy
lines at all.
Sure I am missing something simple, help much appreciated!