Configuring background tasks
💡 Background tasks have appeared in Passwork since 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.
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.
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<Passwork 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<Passwork folder>/app/logs/run-command.log.