← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #227207]: Running tests at a specific time

 

Question #227207 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/227207

    Status: Open => Answered

RaiMan proposed the following answer:
Depends on the method you are running the scripts.

Normally, one would solve the scheduling in the framework (observing
timer events).

If this is not suitable, you can hand over some parameter to the script
and the script then waits for a specific time or duration, before
running the workflow (use the respective Python modules time, date, date
time, ...).

But waiting 1h could simply be:
wait(3600)
at the beginning of the script (internally solved using Java Thread.sleep())

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.