• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved KAV cron email

moswak

Regular Pleskian
Hi,
i want to disable the daily cronmail from KAV.
I found this
Plesk – nächtliche Infomail vom Kaspersky Antivirus unterbinden – KnowBlog

logifle is greated
Code:
Loading engine...
Current product version: 8.5.1.5
Initializing engine...
Using xml-file: /opt/kav/sdk8l3/bin/settings.xml.

LICENSE INFO:
Key file: kav.key
Expiration date: 22/09/2017
Operation result code: 0x00000000. Success

but it is still an email sent with
Code:
/etc/cron.daily/kav8update:

Redirecting to /bin/systemctl reload  kavehost.service

can someone help me ?
 
Could you please tell me what is the content of your /etc/cron.daily/kav8update now?

On my test Plesk 17.5.3 server I see:

# cat /etc/cron.daily/kav8update
#!/bin/bash

SDK_HOME=/opt/kav/sdk8l3
export KL_PLUGINS_PATH="$SDK_HOME/lib"
export LD_LIBRARY_PATH="$KL_PLUGINS_PATH:$LD_LIBRARY_PATH"

$SDK_HOME/bin/keepup2date8 --download --licinfo --simplelic --version --xmlfile $SDK_HOME/bin/settings.xml
RET=$?

### Return codes are detailed in updatersdk.h
case "$RET" in
0)
# 0 - Success
service kavehost reload
;;
10|20)
# 10 - All files are up-to-date
# 20 - An operation did not complete because the current version of definitions is newer than the version in the source
RET=0
;;
esac

exit $RET

Do you have the same?
 
Hi IgorG,

yes i have the same content and i edited it to

#!/bin/bash

SDK_HOME=/opt/kav/sdk8l3
export KL_PLUGINS_PATH="$SDK_HOME/lib"
export LD_LIBRARY_PATH="$KL_PLUGINS_PATH:$LD_LIBRARY_PATH"

$SDK_HOME/bin/keepup2date8 --download --licinfo --simplelic --version --xmlfile $SDK_HOME/bin/settings.xml >> /var/log/kav-update.log 2>&1
RET=$?

### Return codes are detailed in updatersdk.h
case "$RET" in
0)
# 0 - Success
service kavehost reload
;;
10|20)
# 10 - All files are up-to-date
# 20 - An operation did not complete because the current version of definitions is newer than the version in the source
RET=0
;;
esac

exit $RET
 
Please try to change line

service kavehost reload

to

service kavehost reload > /dev/null 2>&1
 
Back
Top