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 at BI server or any other server with the same configuration by specified schedule.

Tasks can be executed:

To start tasks, follow the steps:

  1. Create configuration file. 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 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 the task scheduler configuration file contains the <Credentials Authentication="0"/> parameter value, on starting the task scheduler the Database Authorization dialog box opens to determine authorization type:

  1. View and update scheduler settings. View and update of task scheduler is performed 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 tasks scheduler, select the Close item in the context menu for the icon.

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

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

See also:

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