Skip to main content
Version: 2026.1

StartProcessTimedConfig

Configuration object for timed process executions.

Methods​

getIdentifier​

getIdentifier(): string

Returns the identifier of the process.

Returns​

string

the identifier as String


getInterval​

getInterval(): number

Returns the interval in which the process is to be executed.

Returns​

number

the internal as long in milliseconds


getIntervalUnit​

getIntervalUnit(): number

Returns the unit of the interval of the process.

Returns​

number

the unit as int (see INTERVAL_UNIT_*)


getLocalVariables​

getLocalVariables(): any

Returns the set local variables for the process execution.

Returns​

any

a map with variables (key, value only string) or null if not set.


getName​

getName(): string

Returns the set name of the process to be executed.

Returns​

string

the name of the process


getProcessDescription​

getProcessDescription(): string

Returns the process description.

Returns​

string

the process description as String


getServersToExcecuteOn​

getServersToExcecuteOn(): string[]

Contains all user-defined servers on which the process is to be executed. If no explicit server list has been specified, the server ID of this server is always added automatically.

Returns​

string[]

list of servers the process will be executed on.


getShouldKeepJdito​

getShouldKeepJdito(): boolean

Returns if the JDito instance should be reused.

Returns​

boolean

true if the JDito instance should be reused.


getShouldRunImmediately​

getShouldRunImmediately(): boolean

Returns if the process should be run immediately.

Returns​

boolean

true if the process should be run immediately.


getShouldShowErrorDialog​

getShouldShowErrorDialog(): boolean

Return the flag if an error dialog is to be shown.

Returns​

boolean

true if the dialog is to be shown


getStartDate​

getStartDate(): Date

Returns the start date of the first planned process execution.

Returns​

Date

the date


getThreadPriority​

getThreadPriority(): number

Returns the thread priority.

Returns​

number

the thread priority as int


getTimerType​

getTimerType(): number

Returns the timer type of the process.

Returns​

number

the timer type as int (see process.TIMERTYPE_*)


getTimezone​

getTimezone(): string

Returns the Timezone of the first planned process execution.

Returns​

string

the Timezone


getUser​

getUser(): string

Returns the title of the user under whom the process is executed.

Returns​

string

the user title


setIdentifier​

setIdentifier(pIdentifier): StartProcessTimedConfig

Sets the unique id of the timer.

Parameters​

pIdentifier
string | number | boolean

the id

Returns​

StartProcessTimedConfig

setInterval​

setInterval(pInterval): StartProcessTimedConfig

The interval, in milliseconds, in which the process is to be executed.

Parameters​

pInterval
number

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setIntervalUnit​

setIntervalUnit(pTimeIntervalUnit): StartProcessTimedConfig

Sets the unit for the interval of the process.

Parameters​

pTimeIntervalUnit
number

the unit of the process interval (see INTERVAL_UNIT_*)

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setKeepJdito​

setKeepJdito(pKeepJDito): StartProcessTimedConfig

Sets if the JDito instance should be reused. 'true' will create a JDito instance only once and then re-use it again and again (for server processes).

Parameters​

pKeepJDito
boolean

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setLocalVariables​

setLocalVariables(pLocalVariables): StartProcessTimedConfig

Sets the local variables that are passed to the process during execution.

Parameters​

pLocalVariables
any

A map with variables (key, value only string) that are passed to the process as $local variables. The name of the corresponding variable in the process is then $local.[key]. null if you do not want to pass variables.

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setName​

setName(pProcessName): StartProcessTimedConfig

Sets the name of the process to be executed.

Parameters​

pProcessName
string | number | boolean

the process name

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setProcessDescription​

setProcessDescription(pProcessDescription): StartProcessTimedConfig

Sets the process description.

Parameters​

pProcessDescription
string | number | boolean

the process description as String

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setRunImmediately​

setRunImmediately(pShouldRunImmediately): StartProcessTimedConfig

Sets if the process should be run immediately. If 'true', the process will be run once immediately after starting the timer.

Parameters​

pShouldRunImmediately
boolean

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setServersToExcecuteOn​

setServersToExcecuteOn(pServerList): StartProcessTimedConfig

Sets the servers on which the process is to be executed. If no explicit server list has been specified, the server ID of this server is always added automatically.

Parameters​

pServerList
string[]

list of servers the process will be executed on.

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setShowErrorDialog​

setShowErrorDialog(pShowErrorDialog): StartProcessTimedConfig

Sets the flag if an error dialog is to be shown. "true" shows an error message if an error occurs (if possible, only if TIMERTYPE_CLIENT_RUN).

Parameters​

pShowErrorDialog
boolean

true if an error dialog is to be shown in case of an error

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setStartDate​

setStartDate(pStartDate): StartProcessTimedConfig

Sets the start date of the first planned process execution.

Parameters​

pStartDate
Date

the date

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setThreadPriority​

setThreadPriority(pThreadPriority): StartProcessTimedConfig

Sets the priority of the thread: process.THREADPRIORITY_*.

Parameters​

pThreadPriority
number

Returns​

StartProcessTimedConfig

setTimerType​

setTimerType(pTimerType): StartProcessTimedConfig

Sets the timer type, see process.TIMERTYPE_*.

Parameters​

pTimerType
number

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setTimezone​

setTimezone(pTimezone): StartProcessTimedConfig

Sets the Timezone of the first planned process execution.

Parameters​

pTimezone
string | number | boolean

the Timezone

Returns​

StartProcessTimedConfig

StartProcessTimedConfig


setUser​

setUser(pUser): StartProcessTimedConfig

Sets the user title of the user under whom the process will be executed. 'Null' for anonymous. Not for TIMERTYPE_CLIENT_RUN.

Parameters​

pUser
string | number | boolean

Returns​

StartProcessTimedConfig