ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 157.90.209.209 / Your IP : 216.73.216.129 [ Web Server : Apache System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64 User : evidenciarevista ( 1049) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Domains : 216 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/cron.daily/ |
Upload File : |
#!/bin/bash # # imunify-antivirus daily cron jobs. # # Usage: # ./imunify-antivirus.cron [<logfile>] # # if logfile is not specified, the output will be discarded # If imunify360-firewall is installed, doing nothing log=${1:-/dev/null} return_upgrade_rc=${2:-no} 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)" /usr/bin/imunify360-agent check-domains echo "imunify360-agent check-domains RC: $?" PACKAGES="imunify-antivirus \ ai-bolit \ 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 UPGRADE_RC=$? echo "yum update RC after: $UPGRADE_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 UPGRADE_RC=$(( $UPGRADE_RC + $? )) echo "yum update imunify-patchman RC after: $UPGRADE_RC" fi /usr/bin/imunify-antivirus version echo "Finished daily imunify-antivirus cron jobs at $(date)" if [ "$return_upgrade_rc" = "yes" ]; then exit $UPGRADE_RC fi } main >> "$log" 2>&1