Task scheduler uses a configuration file with a fixed structure which must be located in the same folder with the executable file of the task scheduler.
The configuration file contains all service information of the task scheduler: repository name, parameters of connection to a repository, identifier of scheduled tasks container, and settings of the email server that is used to send notifications.
The configuration file is generated automatically from the scheduled tasks container. By default the configuration file is named Scheduler.xml, and it is saved to the folder with installed Foresight Analytics Platform.
In the dialog box used to save settings for task scheduler, it is possible to chose the place where the file will be stored, name and authorization type which will be specified in settings. By default the Encrypt Credentials and Save Credentials checkboxes are not selected, therefore the user name and the password need to be specified in the Database Authorization dialog box at the task scheduler start.
NOTE. On file automatic creation the <HOST> section and the <LOG> subsection are not created. The sections are added automatically to the file if required.
To manually extend configuration file, follow the steps:
Open configuration file in any text editor.
Add the required modifications according to the configuration file structure and section description.
Save configuration file in the XML format and refresh settings of tasks scheduler.
NOTE. On working with a big number of tasks in the tasks scheduler, there are features of splitting task threads.
See also: