Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
#!/bin/bash # # imunify-antivirus daily cron jobs. # # Usage: # ./imunify-antivirus.cron [] # # if logfile is not specified, the output will be discarded # If imunify360-firewall is installed, doing nothing log=${1:-/dev/null} sh_update_call=${2:-no} # Skips check-domains call and returns return code main() { /usr/libexec/report-command-error /opt/imunify360/venv/bin/python3 /opt/imunify360/venv/share/imunify360/scripts/delay_on_cron_call.py echo "Checking if imunify360-firewall is installed" if rpm -qi imunify360-firewall; then echo "Imunify360-installed, skipping antivirus cron" exit 0 fi echo "Starting daily imunify-antivirus cron jobs at $(date)" if [ "$sh_update_call" = "no" ]; then /usr/bin/imunify360-agent check-domains echo "imunify360-agent check-domains RC: $?" fi PACKAGES="imunify-antivirus \ ai-bolit \ alt-common-release \ alt-php-hyperscan \ imunify-release \ imunify-common \ imunify-notifier \ imunify-core \ imunify-realtime-av \ imunify-ui \ imunify360-venv \ minidaemon \ alt-php-internal \ app-version-detector" /usr/libexec/report-command-error /usr/bin/yum update --assumeyes $PACKAGES UPDATE_RC=$? echo "yum update RC after: $UPDATE_RC" # do not try to update the package if it is not installed echo "Checking if imunify-patchman is installed" if rpm -qi imunify-patchman; then # do not update obsoleted packages by default /usr/libexec/report-command-error /usr/bin/yum update --setopt=obsoletes=0 --assumeyes imunify-patchman UPDATE_RC=$(( $UPDATE_RC + $? )) echo "yum update imunify-patchman RC after: $UPDATE_RC" fi /usr/bin/imunify-antivirus version echo "Finished daily imunify-antivirus cron jobs at $(date)" if [ "$sh_update_call" = "yes" ]; then exit $UPDATE_RC fi } main >> "$log" 2>&1