/create Command-Line Option - Unity Scheduler - English - Foundation 22.1 - OnBase - Essential - Premier - Standard - external - Standard - Essential - Premier

Unity Scheduler

Platform
OnBase
Product
Unity Scheduler
Release
Foundation 22.1
License
Standard
Essential
Premier

A new instance of the Unity Scheduler Service is created by using the /create command-line option with its associated parameters. This will create the Windows Service, as well as make all the changes necessary to grant access to the OnBase system specified by the command-line parameters.

Note:

In order to properly install a Unity Scheduler Service instance using the /create command line, you must first modify the Hyland.Core.Scheduler.NTService.exe.config file to include a valid connection string. For more information about configuring connection strings, see Connection Strings in Web.config. Once this connection string has been configured, all created service instances that reference the data source use that connection string. If Windows authentication is specified for the connection string, the current Windows User Account must have Windows authentication connection authority for the SQL Server when registering the Windows service.

Required parameters are added to the /create command line, as shown here:

"[path]\Hyland.Core.Scheduler.NTService.exe" /create -sn="service name" -obu="service account name" -obp="service account password" -obd="connection string name"

Optional parameters are added to the /create command line with the other required parameters, as shown here:

"[path]\Hyland.Core.Scheduler.NTService.exe" /create -sn="service name" -obu="service account name" -obp="service account password" -obd="connection string name" -obg="task group name" -dn="display name" -desc="description" -u="Windows User Name" -p="Windows Password" -st="Start Type"

When creating an instance of 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"

-obd

Name of the ADO.NET connection string configured as the data source.

Note:

This parameter is required.

Example: -obd="Connection String Name"

-obg

Task Group name.

Note:

If not specified, the default value of this parameter is <Unassigned>.

Example: -obg="Production"

-dn

Unity Scheduler Service display name.

Note:

If not specified, the default value of this parameter is the same as the service name specified with the -sn parameter.

Example: -dn="My Display Name"

-desc

Service description.

Note:

If not specified, the default value of this parameter is Executes Unity Scheduler Tasks.

Example: -desc="My Description"

-u

Windows User Account that the Unity Scheduler Service executes under. This account should have access to the OnBase Disk Groups.

Note:

If not specified, the default value of this parameter is LocalSystem.

Example: -u="MyDomain\MyAccount"

-p

The password associated with the Windows User Account under which the Unity Scheduler Service executes.

Note:

This parameter is case sensitive.

Example: -p="MyWindowsPassword"

-st

Unity Scheduler Service startup type.

  • Enter a to enable automatic startup.

  • Enter d to disable startup.

  • Enter m to enable manual startup.

Note:

If not specified, the default value of this parameter is Manual.

Example: -st="a"

-cfl

This parameter is used with the /create or /createdo command-line option. This parameter specifies an instance-specific configuration file (instead of the default, common configuration file) to be used by the Unity Scheduler Service.

Example: -cfl="Site2.config"

Tip:

To verify the service was successfully created, open the Microsoft Management Console and ensure the service is listed. Start the service when it is ready to be used.