Automatic Creation of Configuration File

To create a file automatically from the scheduled tasks container interface, follow the steps:

  1. Save options for task scheduler:

After executing the operations the Start Parameters dialog box opens in the web application or the Save Task Scheduler Settings dialog box in the desktop application.

Specify the full name of the saved file in the File input box. By default the configuration file is named Scheduler.xml, and it is saved to Foresight  Analytics Platform installation folder. You can change file name and path manually or by clicking the Browse button.

  1. In the Authorization parameter group set the type of authorization, which is specified in the settings:

IMPORTANT. To work correctly, task scheduler must be started under the user, with which Foresight Analytics Platform was started and a configuration file was created.

By default, the checkboxes are deselected that is why the user name and password need to be specified in the Database Authorization dialog box at the task scheduler start. The following parameters are set in the configuration file: <Credentials Authentication="1" Ask="1"/>.

If both checkboxes are selected, the following parameters are set in the configuration file: <Credentials Authentication="6"> <Key Name="…" Realm="…" Crs="…" Crsa="…"/>. The Name, Realm, Crs, Crsa attributes are formed automatically and are read-only.

To save the configuration file in the web application, click the Download button. By default, the created configuration file is named Scheduler.xml, and it is saved to the the downloads folder.

Place the created configuration file in the same folder with the executable file of the task scheduler on the server.

When the configuration file is created automatically, only basic settings are created. If it is required to set additional settings, the configuration file should be edited manually.

See also:

Configuration File | Extending Configuration File Manually