How can I get a python code to run over and over again?
<p>I have a scraper that scrapes data from a website, then saves the data in .csv files. What I am looking for is a way to run this code every 10 minutes, without using a loop. I have very little knowledge on how to do this. What approach would you use?</p>

<p>Are you using windows or a unix based system?</p>

<p>If you're using UNIX, you can schedule jobs to take place at regular intervals with CRON.</p>

<p>Execute the following in a terminal window:</p>

<pre><code>#edit crontab
crontab -e
</code></pre>

<p>Then add the required file you want to execute prefaced by the following CRON instructions:</p>

<pre><code>*/6 * * * * /path/to/desired/Python_version /path/to/executable/file
</code></pre>

python web-scraping