Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run python script every 5 minutes under Windows

Tags:

python

I am having a simple python script scraping some data from html page and writing out results to a csv file. How can I automate the scraping, i.e. kick it off every five minutes under Windows.

Thanks Peter

like image 536
Peter Avatar asked Sep 21 '26 15:09

Peter


1 Answers

Look into this link: http://blogs.esri.com/esri/arcgis/2013/07/30/scheduling-a-scrip/

You'll need to change some settings in Windows Task Scheduler to run the script every five minutes, otherwise the above tutorial works nicely.

like image 87
geekpradd Avatar answered Sep 24 '26 04:09

geekpradd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!