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>]
For Linux OS:
DISPLAY=:987 ./Scheduler [-<Parameters>]
IMPORTANT. If task schedulers are to be started on different computers or virtual machines, each repository should work only with one instance of task scheduler. If several task schedulers are to be started on one computer or virtual machine, it is required to use different configuration files for started task scheduler instances configured for different repositories.
Task scheduler starting parameters differ depending on the selected OS.
The following parameters are used in Windows OS:
Instance. Start a task scheduler instance with the specified settings file:
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.
Silent. Do not notify about an already started task scheduler with the specified settings.
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.
MultipleInstances. Disabling the blocking of starting multiple instances of Scheduler.xml that are set up to the same configuration file. This setting is relevant only for server operating systems.
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.
The following parameters are used in Linux OS:
Instance. Start a task scheduler instance with the specified settings file:
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
h. Get help information using available parameters:
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: