The launch of cron tasks under the www-data user has been removed (#67)

This commit is contained in:
Sergei Solovev 2024-11-27 21:07:42 +03:00 committed by GitHub
parent 0a3817d03b
commit 4e8e22c976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,16 +332,16 @@ while true; do
# Задачи CRON
cronTasks="#
# Default Crontab by EngineGP
* * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads scan_servers_admins
* * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads scan_servers_down
*/2 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads scan_servers
*/15 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads scan_servers_stop
*/15 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads scan_servers_copy
0 */1 * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads graph_servers_hour
0 0 */1 * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey threads graph_servers_day
*/10 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey notice_help
*/30 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey notice_server_overdue
*/30 * * * * sudo -u www-data php /var/www/enginegp/cron.php $cronKey preparing_web_delete
* * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_admins
* * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_down
*/2 * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers
*/15 * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_stop
*/15 * * * * php /var/www/enginegp/cron.php $cronKey threads scan_servers_copy
0 */1 * * * php /var/www/enginegp/cron.php $cronKey threads graph_servers_hour
0 0 */1 * * php /var/www/enginegp/cron.php $cronKey threads graph_servers_day
*/10 * * * * php /var/www/enginegp/cron.php $cronKey notice_help
*/30 * * * * php /var/www/enginegp/cron.php $cronKey notice_server_overdue
*/30 * * * * php /var/www/enginegp/cron.php $cronKey preparing_web_delete
# Default Crontab by EngineGP
#"