ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Владимир <fmfm@symmetron.msk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Kaspersky avp updater
Date: Mon, 26 May 2003 16:48:13 +0400
Message-ID: <3ED20D0D.4060302@symmetron.msk.ru> (raw)
In-Reply-To: <10188816689.20030526160749@okclub.org>

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

Dmitry A. Legkikh пишет:

>Приветствую!
>
>Кто-нибудь настраивал ежедневное обновление баз касперского?
>Родной скрипт kavupdater работает отвратительно,
>после небольшой модификации базы обновляются, но ежедневно идёт
>репорт с ошибками по почте.
>Я конечно понимаю что можно этот репорт направить в /dev/null
>но может сделать как-то более правильно?
>  
>

Для чего искусственные сложности?
И касперский, и доктор-веб обновляются с их ftp скриптами из crona длиной
в несколько сторок (каталог для статистики только руками создайте).
А "фирменные" скрипты из разряда "без комментариев".

PS. Вот если бы они еще rsync сервера настроили ...

-- 
Best regards
Vladimir


[-- Attachment #2: avp-update.sh --]
[-- Type: text/plain, Size: 423 bytes --]

#! /bin/sh
# this script update kav bases
#
#######
# CONFIG
#######
LDIR="/home/public/distrib/win/avp_up_zip"
RDIR="ftp://downloads4.kaspersky-labs.com/updates_zip"
DEP=1
#
cd $LDIR
wget -nr -nH --cut-dirs=$DEP -N --passive-ftp  $RDIR/*.zip -o /var/account/update/avp/`date +update_%Y-%m-%d`
# set valid cwner
chown -R root.public /home/public/distrib/win/avp_up_zip
find $LDIR -type f -exec chmod 644 {} \;
# last line


      reply	other threads:[~2003-05-26 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-26 12:07 Dmitry A. Legkikh
2003-05-26 12:48 ` Владимир [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ED20D0D.4060302@symmetron.msk.ru \
    --to=fmfm@symmetron.msk.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git