We help IT Professionals succeed at work.
Get Started

Is there a way to run Sikulix automation scripts with Windows Task Scheduler with the option "Run whether user is logged in or not"?

962 Views
1 Endorsement
Last Modified: 2016-01-08
I'm able to use Windows Task Scheduler (OS version is Windows 7 Enterprise) to successfully run Sikulix automation scripts when the task has the option "Run only when user is logged on", however, the same script fails if I run with the option "Run whether user is logged in or not", as the Sikuli find() function to locate objects by image recognition isn't working (supposed because Sikuli requires an active monitor for image recognition), some information I have on this are:
http://superuser.com/questions/78359/why-is-windows-7-scheduled-task-running-hidden
https://technet.microsoft.com/en-us/library/cc722152.aspx

However, I would like to have the scripts running with the "Run whether user is logged in or not" option, because with the "Run only when user is logged on" option, the scheduled scripts will not run if the user is not logged on, either remotely or locally, and this will not be possible as this machine is shared with the offshore team.

Is there a way to run Sikulix automation scripts with Windows Task Scheduler with the option "Run whether user is logged in or not"?  Otherwise is there a way to successfully schedule Sikulix script runs without requiring the account scheduling the runs to always be logged on?
Comment
Watch Question
The More I know, the more I don't know
CERTIFIED EXPERT
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 4 Answers and 7 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE