Redesigned the call and execution time for CRON tasks (#75)

This commit is contained in:
Sergei Solovev 2025-01-07 11:47:42 +03:00 committed by GitHub
parent 869e549054
commit 4e70740410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -325,16 +325,18 @@ while true; do
# Задачи CRON # Задачи CRON
cronTasks="# cronTasks="#
# Default Crontab by EngineGP # Default Crontab by EngineGP
* * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads scan_servers_admins' * * * * * php /var/www/enginegp/cron.php $cronKey notice_help_admin
* * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads scan_servers_down' * * * * * php /var/www/enginegp/cron.php $cronKey notice_help
*/2 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads scan_servers' * * * * * php /var/www/enginegp/cron.php $cronKey notice_server_overdue
*/15 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads scan_servers_stop' * * * * * php /var/www/enginegp/cron.php $cronKey preparing_web_delete
*/15 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads scan_servers_copy' * * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_admins
0 */1 * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads graph_servers_hour' * * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_copy
0 0 */1 * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey threads graph_servers_day' * * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_down
*/10 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey notice_help' * * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_stop
*/30 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey notice_server_overdue' * * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers
*/30 * * * * bash -c 'cd /var/www/enginegp/ && php cron.php $cronKey preparing_web_delete' * * * * * php /var/www/enginegp/cron.php $cronKey users_recovery_signup
0 */1 * * * php /var/www/enginegp/cron.php $cronKey graph_servers_hour
0 0 */1 * * php /var/www/enginegp/cron.php $cronKey graph_servers_day
# Default Crontab by EngineGP # Default Crontab by EngineGP
#" #"