0

I'm crawling a blog using Scrapy using the command "scrapy crawl posts". I need to check for new posts every 5 minutes. How can I do it?

Thanks in advance.

1 Answers1

1

Edit your /etc/crontab file to include this line. It will setup your script to run every 5 minutes.

*/5 *   * * *   unix-username   cd /your/path/to/scrapy-project/;scrapy crawl posts

For windows you can take a look at the answer mentioned here

Community
  • 1
  • 1