From: Andrew Nazarkin <alting@mail.ru> To: MANDRAKE-RUSSIAN <mandrake-russian@altlinux.ru> Subject: [mdk-re] Rync over dial Date: Mon Feb 18 18:01:16 2002 Message-ID: <91349669234.20020218180719@mail.ru> (raw) Здравствуйте, 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 -- С уважением, Alting mailto:alting@mail.ru
next reply other threads:[~2002-02-18 18:01 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-18 18:01 Andrew Nazarkin [this message] 2002-02-18 23:58 ` cornet 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=91349669234.20020218180719@mail.ru \ --to=alting@mail.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