how to use lock mechanism in scrapy spider which is running from cron jobs

Viewed 15

I have a Scrapy Spider which I have scheduled as a Cron Job every 1 minute but the problem is if the previous job is not completed it will again trigger after 1 minute, but I want to acquire a lock in that spider if the previous one is completed then next job will trigger into that spider.

0 Answers
Related