Starting Task for Execution

After tasks have been created, start tasks for execution. Tasks can be started on the local computer in the scheduled tasks container or using task scheduler providing a possibility to execute resource intensive tasks on application server or BI server.

Tasks can be executed:

To start tasks, follow the steps:

  1. Create a configuration file. A configuration file is created automatically from scheduled tasks container. By default, the configuration file is named Scheduler.xml and is saved to the the folder with installed Foresight Analytics Platform.

  1. Starting scheduler as a service or with specified parameters:

The task scheduler polls the task container in specified time intervals and if the time has come, it executes the tasks. By default the task scheduler checks the existence of tasks every 5 minutes. If the time of task execution is the same for more than one task, they are executed simultaneously.

  1. Authorization. If value of the <Credentials Authentication="0"/> parameter is set in the configuration file of task scheduler, startup of the task scheduler opens the Database Authorization dialog box opens to determine authorization type:

  1. View and refresh scheduler settings. View and refresh of task scheduler settings is executed in the task scheduler main window:

  1. View tasks status:

  1. Stop running tasks and close scheduler:

To close scheduler:

Clicking the Close button in the scheduler dialog box closes only scheduler dialog box, the scheduler continues working and it will be available in the notification area. To fully close the task scheduler, select the Close item in the context menu for the icon.

After the task has been created, the following operations are available:

NOTE. When working with a number of tasks in the task scheduler, there are features of splitting task threads.

See also:

Creating a Service to Start Task Scheduler | Creating a Configuration File