cancel
Showing results for 
Search instead for 
Did you mean: 

Run Sheduler for AutomateC.exe

Jrwork
Level 5

hey guys!
I would like to understand why an agenda is not running via automateC.exe.

Notes:

I ran the calendar in my home environment (community version) and as the bank was already configured normally and access is via typing the login and password in blueprism, I sent the command, for example: runas /user:ual.jbj "C :\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe /startschedule /schedule 'R1000_Teste'" my username + password and then the schedule was executed.


Problem>
However, in the company I am not able to send the command, the main difference is that the connection is via AD, so I do not need to enter the login and password when opening the BP, and when executing the command, I get the following return:
C:\Users\ual.jbj>"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /startschedule /schedule "R1000_Teste"

Unhandled Exception: BluePrism.Server.Domain.Models.BluePrismException: The server manager cannot be referenced
at BluePrism.AutomateAppCore.ClientServerConnection.ServerFactoryWrapper.get_ServerManager()
at BluePrism.AutomateAppCore.app._Closure$__._Lambda$__0-0()
at AutomateC.AutomateC.Run(String[] args)
at AutomateC.AutomateC.main(String[] args)

More informations for topic: 

Schedule: 

Jrwork_0-1731420542663.png


Conection: 

Jrwork_1-1731420580022.png

CMD: 

Jrwork_2-1731420627169.png

I'm confused about having to enter additional data such as my username, password, bank login or DB domain... 

Thanks!

 

 



1 REPLY 1

steven.boggs
Staff
Staff

If you're using Active Directory and not passing /username and /password switches, you should be using the '/sso' switch instead. This instructs Blue Prism to authenticate the command based on the current user's credentials in a Single Sign-on (SSO) configuration.

More information about available command switches for Automate.exe and AutomateC.exe can be found here: https://docs.blueprism.com/en-US/bundle/blue-prism-enterprise-7-3/page/helpCommandLine.htm