Skip to content

Commit

Permalink
Fix. Cron task function rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergull committed Sep 14, 2023
1 parent c2f1aeb commit 4d7d2bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security-malware-firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ function spbc_activation($network, $redirect = true)
SpbcCron::addTask('access_key_notices', 'spbc_access_key_notices', 3600, time() + 3500);
SpbcCron::addTask('service_get', 'spbct_perform_service_get', 86400, time() + 3500);
SpbcCron::addTask('security_log_clear', 'spbc_security_log_clear', 86400, time() + 43200);
SpbcCron::addTask('get_brief_data', 'spbc_get_brief_data', 86400, time() + 1800);
SpbcCron::addTask('get_brief_data', 'spbc_set_brief_data', 86400, time() + 1800);
} elseif ( ! is_multisite() ) {
// Cron
SpbcCron::addTask('send_logs', 'spbc_send_logs', 3600, time() + 1800);
Expand All @@ -626,7 +626,7 @@ function spbc_activation($network, $redirect = true)
SpbcCron::addTask('send_php_logs', 'spbc_PHP_logs__send', 3600, time() + 300);
SpbcCron::addTask('service_get', 'spbct_perform_service_get', 86400, time() + 3500);
SpbcCron::addTask('security_log_clear', 'spbc_security_log_clear', 86400, time() + 43200);
SpbcCron::addTask('get_brief_data', 'spbc_get_brief_data', 86400, time() + 1800);
SpbcCron::addTask('get_brief_data', 'spbc_set_brief_data', 86400, time() + 1800);

if ( empty($spbc->errors['configuration']) ) {
$scanner_launch_data = spbc_get_custom_scanner_launch_data(true);
Expand Down

0 comments on commit 4d7d2bb

Please sign in to comment.