Administration

Background tasks

3min

Background tasks were introduced in Passwork 5.1.0

Background tasks are tasks automatically executed by Passwork in the background. For example, LDAP synchronization, favicon loading and other tasks that need time and resources to be processed.

To see the list of scheduled tasks and check the settings, go to the Background tasks section in Settings and users:

Document image


To configure background tasks, you must set up your operating system's scheduler, Cron for Linux or Windows Scheduler. The scheduler should run the following script every minute:

Shell


It analyzes which tasks need to be run and creates a separate thread for each task. When executed, each task writes a log to the folder./app/logs/ into files liketask-*.log. For example,task-62f8e9624e0446fba40bbb12.log. After task is finished, you can view and download the corresponding log from the Background tasks Tasks history tab.

The system scheduler logs can be found at ./app/logs/run-command.log.

How to configure the task scheduler