Administration

Background tasks

3min

Background tasks

Background tasks were introduced in Passwork 5.1.0

Background tasks are tasks that run automatically. Examples include LDAP synchronization, loading favicons, and other tasks that need a lot of time, need to run constantly, or require additional resources.

You can check the list of scheduled tasks and the correctness of all settings on the Background tasks page.

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 script for every minute.

Shell


The script 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-*.logFor example,task-62f8e9624e0446fba40bbb12.log. After completing a task, you can view and download the log from the Background tasks → Tasks history tab.

The system scheduler logs (with errors) are in ./app/logs/run-command.log.

How to configure the task scheduler of the operating system