Start Sikuli scripts at a specific time

Asked by Marius

Hi,

Does anyone know how I can run a Sikuli script or some Sikuli scripts at specific time? For example run script A at 18:01:00 in a specific day like 01.05.2014.

Thank you in advance,

Marius

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene S
Solved:
Last query:
Last reply:
Revision history for this message
Best Eugene S (shragovich) said :
#1

Hi,

Assuming you are working under Windows OS and you are running your script from the command line (using "runScript.cmd -r Test.sikuli"), you can just scedule it with Windows Task Scheduler by performing the folowing steps:

1. Open Task Scheduler
2. Create a Basic Task
3. Enter name
4. Choose your trigger (this is where you define when you want to run it)
5. Choose an action (here pick "Start a program) and provide a full path to your command. For example:
     C:\SikuliX\runScript -r C:\Sikulix\Test.sikuli
6. Finish!

Cheers,
Eugene

Revision history for this message
Marius (mariusalex09) said :
#2

Thank you very much for the solution!

Revision history for this message
Mujeebu Rahman (mujeeburahman007) said :
#3

Hi Eugene,

In case of MAC how i can achieve the timely run.

Regards.