Starting Task Scheduler with Specified Parameters

On starting task scheduler various parameters may be required. To specify parameters, start the task scheduler from the command line by running the following command:

Scheduler.exe [-<Parameters>]

DISPLAY=:987 ./Scheduler [-<Parameters>]

NOTE. When the task scheduler is started, the system checks for an already started instance that is set up to use the same configuration file. An error message appears if such an instance is found.

Starting Parameter

Task scheduler starting parameters differ depending on the selected OS.

Parameters Used in Windows OS

The following parameters are used in Windows OS:

By default the task scheduler's configuration file is named Scheduler.xml. If it is necessary to start the task scheduler with another configuration file, run the following command:

Scheduler.exe –Instance <name>

where "name" is a configuration file name specified without the extension "xml". For example:

Scheduler.exe -Instance Test

After this command is executed, a task scheduler instance starts that is set up to use the Test.xml configuration file.

To start the task scheduler without notifying about an error of an already started task scheduler, use the Silent parameter. For example:

Scheduler.exe -Instance Test -Silent

After this command is executed the scheduler starts using the settings stored in the Test.xml file. If the task scheduler using these settings is already started, a new instance of task scheduler is not started, and error message is not displayed.

To start the instance of Scheduler.xml within the current server operating system, if the process has been already started within some other parallel session, use the MultipleInstances parameter. For example:

Scheduler.exe -Instance Test –MultipleInstances

After this command is executed, a task scheduler instance starts that is set up to use the Test.xml configuration file. If this command is executed again, another task scheduler instance can be started.

These parameters can be used together.

Parameters Used in Linux OS

The following parameters are used in Linux OS:

By default the task scheduler's configuration file is named Scheduler.xml. If it is necessary to start the task scheduler with another configuration file, run the following command:

DISPLAY=:987 ./Scheduler –Instance <name>

where "name" is a configuration file name specified without the extension "xml". For example:

DISPLAY=:987 ./Scheduler -Instance Test

After this command is executed, a task scheduler instance starts that is set up to use the Test.xml configuration file

To get help information using available parameters, specify the h parameter:

DISPLAY=:987 ./Scheduler -h

After this command is executed, the help information about available parameters will be displayed.

See also:

Starting Task for Execution