Issues running app from Task Scheduler

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues running app from Task Scheduler

kStephens
Hello All,
I have a simple console app, that I can run from Visual Studio, and I can run it from double clicking on the exe file.
But now I want to have this run under the Task Scheduler on a daily basis, but it will not run under admin credz when "Run whether user is logged on or not" is selected.

Has anyone found a solution on why it will not run like this?
Any help or advice will be helpful.
Thanks,
Keith.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/855ab560-56df-4432-b12e-62818b20741c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Issues running app from Task Scheduler

ANoQA
Chromedriver cannot be run with elevated privileges. Likely to avoid malicious use. Schedule to run without elevated permissions.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/94605d1c-5533-4fa7-bd11-cb24ec63cb8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Issues running app from Task Scheduler

ANoQA
In reply to this post by kStephens
I would also recommend to run when user is logged in to provide a more realistic GUI.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1ef717f1-8803-48c5-bc42-1cfdaffc8c4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Issues running app from Task Scheduler

kStephens
In reply to this post by ANoQA
I am using the firefox driver, and I did try unchecking the elevated permissions but that did not work.
I am not too concerned with the GUI, I just need the console app to run when logged in or not.

I am still having issue with this, if "Run whether user is logged on or not" is selected my app will not run, but when run when user is logged this is checked it runs just fine, but this is not my desired result.
I am running the firefox driver with the "-headless" option on so I don't see the browser, is there any other flag to set for the browser or the driver to get this to run.

Thanks,
K.

On Monday, April 23, 2018 at 10:50:34 PM UTC-4, ANoQA wrote:
Chromedriver cannot be run with elevated privileges. Likely to avoid malicious use. Schedule to run without elevated permissions.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/54c7cd69-8f05-4600-9c5b-2a8a037eb108%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.