Created
August 22, 2026 13:52
-
-
Save hipot/a67d4ae8e1867a3b0226af9f7a33594f to your computer and use it in GitHub Desktop.
restore agents (cron) and use default-script: /bitrix/modules/main/tools/cron_events.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // restore agents (cron) | |
| COption::SetOptionString("main", "agents_use_crontab", "Y"); | |
| echo COption::GetOptionString("main", "agents_use_crontab", "N"); | |
| COption::SetOptionString("main", "check_agents", "Y"); | |
| echo COption::GetOptionString("main", "check_agents", "N"); | |
| COption::SetOptionString("main", "mail_event_bulk", "20"); | |
| echo COption::GetOptionString("main", "mail_event_bulk", "5"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment