An existing instance of the Unity Scheduler Service can be updated using the /update command line with its associated parameters. The /update command line can be used to change the OnBase credentials a Service instance uses, the name of the associated data source, or the Task Group Name.
Required parameters are added to the /update command line, as shown here:
"[path]\Hyland.Core.Scheduler.NTService.exe" /update -sn="service name" -obu="service account name" -obp="service account Password" -obg="task group name"
Optional parameters are added to the /update command line with the other required parameters, as shown here:
"[path]\Hyland.Core.Scheduler.NTService.exe" /update -sn="service name" -obu="service account name" -obp="service account Password" -obg="task group name" -obi="OnBase Institution ID"
When updating the Unity Scheduler Service using the command line, you must configure the settings of the Service by using the parameters listed in the following table. If an optional parameter is not included, the default value is configured for that parameter, if available.
Parameter |
Description |
---|---|
-sn |
Service name. Note:
This parameter is required. Example: -sn="My Scheduler" Note:
The Unity Scheduler Service instance will have _UnityScheduler affixed to the end of the service name. |
-obu |
Name of the OnBase Service Account that will execute Tasks. Note:
This parameter is required. Example: -obu="Service Account" |
-obp |
OnBase Service Account password. Note:
This parameter is required and is case sensitive. Example: -obp="Password" |
-obi |
The ID of the Institution. Note:
This parameter is only required if using the Unity Scheduler Service with Institutional databases. Example: -obi=" OnBase Institution ID" |
-obg |
Task Group name. Note:
If not specified, the default value of this parameter is <Unassigned>. Example: -obg="Production" |
-spf |
The path to the Sensitive Parameters File. The Sensitive Parameters File is a simple text file which contains name and value entries, written as name, value. The "name" corresponds to a reference that can be used in the command line to substitute for sensitive data that exists in the Sensitive Parameters File. The "value" corresponds to the actual value used for service installation. For example, the Sensitive Parameters File could contain AdminPWRef, [AdminPassword] to allow command-line switches to reference an administrative password (using "AdminPWRef") without actually using or displaying the password in the command line. To reference values within the Sensitive Parameters File, enter command-line option paramters with references placed between "<<" and ">>" delimiters followed by the -spf parameter with its file path defined. In the following example, the OnBase Service Account user (-obu) and password (-obp) are defined using references to the user (UserReference) and password (PasswordReference) values contained in the "SensitiveParameters.txt" file: -obu="<<UserReference>>" -obp="<<PasswordReference>>" -spf="\\MyServer\MyShare\SensitiveParameters.txt" |