View Single Post
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#12
You can do this with alarmD fairly easily, or if you're not quite so picky you can do it with your python script itself... just put your code into a loop that repeats forever, and at the end of the loop (just before you start again), put a nice long sleep in.

For example:

Code:
import time

while 1:
    //Your python code goes here


   //Now we wait for 5 ( 5 minutes * 60 seconds) minutes
   time.sleep(5 * 60)
Thanks!
 

The Following User Says Thank You to jolouis For This Useful Post: