What this solution does
The 'Agents on Cron' module accelerates site performance by shifting agent execution from user visits to the server-side cron scheduler. In Bitrix, agents are scheduled background tasks. By default, they run whenever a user accesses the site, creating server load. This module moves these tasks to a background mode independent of visitor activity.
Additional optimization modules:
'Cron-based Sitemap Auto-generation. Bitrix Acceleration' generates up-to-date XML sitemap files via agents, speeding up content manager workflows and 1C data exchange.
'Prices and Discounts for SEO. Writing to Product Properties' pre-calculates discounted prices using agents. Product catalogs and Yandex feeds work faster as they do not require real-time price calculations.
'Advanced 1C Exchange' helps speed up data exchange with 1C using the delayed managed cache flush option.
Important: Server and cron scheduler configuration must be performed by the administrator. Cron is a complex technology requiring proper environment setup.
Cron is a server utility that executes commands according to a specified schedule.
The 'Agents on Cron' module features a single switch and requires no programming skills. Using this module ensures safe updates for Bitrix and availability of new functionality.
For the standard Bitrix Virtual Machine (VMBitrix), Cron configuration is not required as it is already set up. On other hosting platforms, you must add a command such as: * * * * * /usr/bin/php -f /home/bitrix/www/bitrix/modules/main/tools/cron_events.php. On some platforms (e.g., TimeWeb, RU-Center), Cron is configured via the control panel.
If assistance is needed to configure the Cron schedule on the server, it is recommended to contact your hosting provider's technical support to obtain the correct command for triggering the file (e.g., at one-minute intervals).
Module advantages:
1. Ability to switch all agents (periodic and non-periodic) to Cron while keeping email sending via HTTP requests (hits).
2. No need to create or update a custom cron_events.php file.
3. Full compatibility with the standard VMBitrix, where Cron is already configured.
4. No need to study options and constants from training courses.
5. Simple interface for non-technical users, controlled by a single radio button.
The module can be removed at any time, allowing cron agents to be configured via the standard method outlined in the training course. This applies to both periodic and non-periodic tasks. The tool is actively used by developers to migrate agents to the cron scheduler. Full module documentation is available in the API help section. Details regarding identified vulnerabilities are published in the dedicated security section.
If “Cron Agents” fits the task, General iT can install the module, configure it and verify the result in the project.