Scheduled tasks
The Scheduled Tasks section allows you to create tasks to execute iBatyr Monitor commands.
When creating a task, you can choose:
execution command,
command parameters,
execution frequency.
To add a task:
Go to Control Panel → Scheduled Tasks.
Click on the Add button.
Fill in the fields according to the rules:
- specify only the command without the prefix sudo ibatyr;
- for example, to run the command sudo ibatyr export in the window, specify only export;
- specify only the parameter without the command itself;
- for example, from the expression sudo ibatyr export FILE_TO_EXPORT.json specify only the parameter FILE_TO_EXPORT.json.
![]()
Reboot the server to add tasks to the schedule:
service ibatyr restart
The results of command execution are presented in the server logs /var/log/ibatyr/process.log.
Performed tasks
This displays a list of tasks that have been added to Scheduled.
By default, the following commands have been added to Running tasks:
usercard –find-new-only –userstat — search for new employee cards every half hour,
usercard –reinit –userstat* - collect statistics on cards every night at 01:10.
