Update Frequency
#1
Отправлено 11 Июль 2010 - 18:06
I would like to decrease the frequency and turn off the email notifications.
Which file do I modify on a linux system?
Thanks!
Brad
#2
Отправлено 12 Июль 2010 - 02:06
#3
Отправлено 12 Июль 2010 - 18:23
Tools > Settings > Updates/Notifications
Thanks Dashke,
If DrWeb is installed with the Plesk Control Panel, do you know how to change the update frequency?
Brad
#4
Отправлено 12 Июль 2010 - 22:30
Please look at this file, you will find drwebd setting in there.
/etc/drweb/drweb32.ini
#5
Отправлено 14 Июль 2010 - 08:09
Hello,
Please look at this file, you will find drwebd setting in there./etc/drweb/drweb32.ini
thanks, but I do not see the location.
This is the updater part I see.
Is it here or in a different file?
[Updater]
# =============================
# = Updater general settings. =
# =============================
# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no
# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon
# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd
# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed
# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb
# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock
# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes
# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl
# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl
# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90
# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1
# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =
# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =
# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =
# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog
# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose
....thanks for any and all help.
Brad
#6
Отправлено 14 Июль 2010 - 08:12
Hello,
Please look at this file, you will find drwebd setting in there./etc/drweb/drweb32.ini
thanks, but I do not see the location.
This is the updater part I see.
Is it here or in a different file?
[Updater]
# =============================
# = Updater general settings. =
# =============================
# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no
# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon
# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd
# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed
# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb
# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock
# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes
# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl
# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl
# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90
# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1
# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =
# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =
# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =
# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog
# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose
....thanks for any and all help.
Brad
Maybe this it the location that tells it 30 minutes to update?
# FileTimeout = {Digital}
# Maximum file scan time during single session.
FileTimeout = 30
#7
Отправлено 14 Июль 2010 - 12:08
Hello,
Please look at this file, you will find drwebd setting in there./etc/drweb/drweb32.ini
thanks, but I do not see the location.
This is the updater part I see.
Is it here or in a different file?
[Updater]
# =============================
# = Updater general settings. =
# =============================
# UpdatePluginsOnly = {Boolean}
# Possibility to update plug-ins only, without updating of Daemon and Scanner at
# the same time.
UpdatePluginsOnly = no
# Section = {Scanner|Daemon}
# Defines which component must be updated.
Section = Daemon
# ProgramPath = {FilePath}
# Path to program files.
ProgramPath = /opt/drweb/drwebd
# SignedReader = {FilePath}
# Path to program used by Updater to read signed files.
SignedReader = /opt/drweb/read_signed
# LzmaDecoderPath = {DirPath}
# Path to program used by Updater to unpack lzma-archives.
LzmaDecoderPath = /opt/drweb
# LockFile = {FilePath}
# Path to file used to prevent sharing of certain files during update.
LockFile = /var/drweb/run/update.lock
# CronSummary = {Boolean}
# Enables output of update session log to stdout.
CronSummary = yes
# DrlFile = {FilePath}
# Path to file with list of currently available update servers.
DrlFile = /var/drweb/bases/update.drl
# DrlDir = {DirPath}
# Path to directory containing signed files with lists of update servers for
# plug-ins.
DrlDir = /var/drweb/drl
# Timeout = {Digital}
# Timeout for updates to be downloaded.
Timeout = 90
# Tries = {Digital}
# Number of attempts Updater makes to download updated files.
Tries = 1
# ProxyServer = {Address}
# IP-address of a proxy server to be used during update process.
ProxyServer =
# ProxyLogin = {String}
# Proxy server authentication username.
ProxyLogin =
# ProxyPassword = {String}
# Proxy server authentication password.
ProxyPassword =
# LogFileName = {FilePath}
# Log filename.
LogFileName = syslog
# LogLevel = {Quiet|Error|Alert|Info|Debug|Verbose}
# Log verbosity level.
LogLevel = Verbose
....thanks for any and all help.
Brad
Maybe this it the location that tells it 30 minutes to update?
# FileTimeout = {Digital}
# Maximum file scan time during single session.
FileTimeout = 30
No, it is not.
30-minutes timeout for updater's work is in the cron job.
In linux-based distribs it is situated in /etc/cron.d/drweb-update file. Just edit it.
use
man cron
man crontab
for help
#8
Отправлено 15 Июль 2010 - 06:28
I did it and should be set now.
Here are my notes:
DrWeb Updates
Edit using SSH in super user (su -)
# vi /etc/cron.d/drweb-update
edit file using vi editor --> i to get insert, change text, then esc to get out of insert, then ZZ to save & exit
changed it to (once a week - and no emails)
30 * * * 1 drweb /opt/drweb/update.pl >/dev/null 2>&1
The no emails part (>/dev/null 2>&1) was talked about on a few other sites.
Brad
Читают тему: 0
0 пользователей, 0 гостей, 0 скрытых