Run Python script every 10 seconds
<p>I have a function to do some work. The code should repeat 130 million times.</p>

<p>Currently, I use Crontab to run a python script every 1 min. It takes too long a time, I want that this python script run when I run it the first time and keep repeating continuously until the work gets over. I want a 10 seconds break between 2 task. How can I do that?</p>