ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Rync over dial
Date: Mon Feb 18 23:58:14 2002
Message-ID: <3C716C45.D268EE32@altlinux.ru> (raw)
In-Reply-To: <91349669234.20020218180719@mail.ru>

Andrew Nazarkin wrote:
> 
> Здравствуйте, MANDRAKE-RUSSIAN.
>  Подскажите, плиз:
>  Имеется выход в инет с 01 до 09. По крону запускается.
>  И через минуту запускается rsync, который синхронизирует каталог RPMS
>  с сервера altlinux.ru.
>  Так вот, в случае какой-либо ошибки (разрыв связи и т.п.) rsync
>  рушится, и, сами понимаете, не поднимается. А время жалко - за ночь
>  скачивается 100-120Мб, и если rsync работает не всю ночь - то ой :(
>  Что будет, если написать какой-нибудь скрипт вроде этого:
> 
> #!/bin/sh
> while true
> do
> rsync трам-пам-па
> sleep 60
> done
> 
> Чтобы при падении он самоподнимался?
> Кто-нибудь пробовал такое?
> 
> P.S. В 9 утра тачка перегружается, так что насильно прибивать процесс
> мне не грозит :D

Примерно год тому назад народ обменивался подобными скриптам.
Посмотрите в архивах рассылки.

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



  reply	other threads:[~2002-02-18 23:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-18 18:01 Andrew Nazarkin
2002-02-18 23:58 ` cornet [this message]
2002-02-19  0:17   ` Aleksandr Blohin
2002-02-19  0:19   ` Aleksandr Blohin

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=3C716C45.D268EE32@altlinux.ru \
    --to=cornet@altlinux.ru \
    --cc=mandrake-russian@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