sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37860
[Question #293127]: Script to run every 5 minutes
New question #293127 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293127
Im new to Sikuli and so so with python. I created a script in Sikuli and working properly and called it Test.sikuli. I want this script to run every 5 minutes? I tried below and seems to not work. Can you please help?
import time
define executeTest():
#my code here
time.sleep(360) # 360 sec = 5 minutes
while True:
executeTest()
I get [error] script [Test]] stopped with error at line --unknown--
The error is on the line where time.sleep(360)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.