Mac: Getting FindFailed when using cron to run sikuli script --- use a LaunchAgent instead
Hello everyone,
I am running Sikuli X-1.0rc3 (r905) on OSX Mountain Lion.
I had an issue when I tried to run sikuli scripts from a crontab for browser GUI testing.
The script starts on time, the browser Firefox is openned, but the Sikuli IDE crashes after the browser openning.
here is the crontab :
00 01 * * * /Applications/
here is the test.skl script :
openApp("Firefox")
wait("Serendres
click("
wait(1)
paste("
wait(1)
type(Key.ENTER)
Here is the standard output :
[info] Sikuli vision engine loaded.
[info] Mac OS X utilities loaded.
[info] VDictProxy loaded.
[log] App.open Firefox(0)
[log] openApp: "Firefox"
[info] locale: fr_FR
Here is the error output (sorry, there are some french sentences):
Erreur d'exécution lors de l'exécution /var/folders/
Traceback (most recent call last):
File "/var/folders/
wait(
File "/Applications/
Line 7, in file /var/folders/
at org.sikuli.
at org.sikuli.
at org.python.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.sikuli.
Line 7, in file /var/folders/
I dont understand this issue, I tried to run the command line in a terminal, everything works properly.
Thanks in advance for your help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: