Task-scheduler

The task-scheduler is a function that takes care of running various reports, programs and schedules in the application’s background. This ensures that the working speed of SIHOT is not affected while a large amounts of data are being processed.

In general, this function is available only to users with Admin rights. Also, a valid email adress must be entered in the user profile of the staff member carrying out the function. In addition, a smtp-server must be entered in the hotel master file.

The task overview is called up by clicking Timer  in the status bar or in the menu Admin.

The task-scheduler is configured in the layout Manage tasks. (menu Admin).

To add schedules and batches for programs or reports in the tab Planned.

Figure 30: Configuring tasks

A process (TaskScheduler) checks periodically in the background, if a batch or schedule is due to be carried out. If this is the case, a task is created and entered in the tab Tasks with the status pending. Another process (TaskWorker) now carries out this task. Meanwhile, the status of a task changes as follows:

    Running – a task is currently being carried out

    Completed – the task was completed as required

    Error – the task could not be completed; an error message will be displayed in the semaphore.

If an email address was entered with the task configuration, the respective user will receive status updates and/or the requested files.