Settings¶
Workspace Settings¶
The job manager uses a number of workspace settings defined in the system manager.
The following core settings are available.
- MessageUpdateInterval
Refer to the system manager workspace settings for information about workspace settings.
DHI.Solutions.JobManager.Config¶
DHI.Solutions.JobManager.Config contains settings used by the job manager and job service of MIKE OPERATIONS.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="GenerateJobLogFile" value="false" />
<add key="RuntimeConfig" value="" />
<add key="ServicePort" value="8089" />
<add key="ServiceHost" value="localhost" />
<add key="ServiceUseSSL" value="false" />
<add key="DebugService" value="true" />
<add key="ServiceLogFilesLocation" value="" />
<add key="ServiceLogFilesMaxMBSize" value="1" />
<add key="ServiceLogFilesMaxHours" value="4" />
<add key="ServiceLogFilesMaxCount" value="10" />
<!-- ReportOnEndpointnotFound 0: no reporting, 1: information message, 2: recoverable exception, 4: both -->
<add key="ReportOnEndpointNotFound" value="1" />
<!-- AllowList, DisallowList: Allow/Disallow semi-colon seperated list of users to execute jobs. Note string shall start and end with a ';'
Note: Empty AllowList will allow all users to execute -->
<!--
<add key="AllowList" value=";admin;" />
<add key="DisallowList" value=";xyzxyz;" />
-->
<!-- Force job service to execute using trusted account (sso> -->
<add key="UseTrustedAccount" value="false" />
<!-- Override job connection string with the one specified here -->
<!--
<add key="Connection" value="database=$(DB);host=$(HOST);port=5432;dbflavour=PostgreSQL" />
-->
<!-- Specify folder for job log files (jobrunner logs and service execution log -->
<!-- <add key="LogFolder" value="c:\temp\joblog" /> -->
</appSettings>
</configuration>
AllowList¶
List of users allowed to use the service.
Connection¶
Defines the database connection string used. By default the job service uses the connection of the job being executed.
DebugService¶
Writes debugging information into the job log file.
DisallowList¶
List of users not allowed to use the service.
GenerateJobLogFile¶
Value indicating whether the job log file should be created abd updated when jobs are running.
The job log file name is <executable>-<processid>.log
.
LogFolder¶
Specify folder for job log files (jobrunner logs and service execution log.
By default the log file is written into %temp%\DHIDSS
.
ReportOnEndpointNotFound¶
Shows information dialog if event accot be raised.
- 0 - No reporting,
- 1 - Information message
- 2 - Recoverable exception
- 4 - Both
RuntimeConfig¶
Override the runtime.config used. By default runtime.config
is used.
ServiceHost¶
Specify the job service host name when using the job service as a remote host for running jobs. Default localhost
.
Note
Note that the default ServiceHost (localhost) should not be used when using remote hosts.
ServiceLogFilesLocation¶
Override the job service log file location. Default is DHIDSS
in the Windows temp directory.
ServiceLogFilesMaxCount¶
Maximum number of job service log files. When exeeded, the oldest log files are deleted.
ServiceLogFilesMaxHours¶
Maximum hours to heep the job service log files.
ServiceLogFilesMaxMBSize¶
Maximum size in MB of the job service log files.
ServicePort¶
Port used by the job manager service.
ServiceUseSSL¶
Value indicating whether the job service uses SSL for communication.
UseTrustedAccount¶
Force the job manager service to use a trusted account by testing if the account used for running the job service is member of a trused group of users such as administrators.