From: Yurkovsky Andrey <anyr@tut.by> To: ALT Community <community@lists.altlinux.org> Subject: [Comm] Cron & Mail Date: Sun, 13 Aug 2006 00:24:09 +0000 Message-ID: <200608130024.11706.anyr@tut.by> (raw) В man cron говорится, что можно отправить отчет на mail. Добавил в /etc/cron.weekly скрипт следующего содержания tar -zcvpf /mnt/archiv/backup/etc-`date '+%d-%m-%y'`.tar.gz /etc 2>/mnt/archiv/backup/etc-`date '+%d-%m-%y'`.error Как я могу то же (всмысле stderr) отправить себе на ящик? Пробовал вместо вышенаписанноо писать tar -zcvpf /mnt/archiv/backup/etc-`date '+%d-%m-%y'`.tar.gz /etc >> /home/anyr/tmp/out 2>&1 MAILTO="anyr" В итоге ни черта кроме того самого out в /home/anyr/tmp -- Не хочу быть пейджером, хочу быть тамогочи
next reply other threads:[~2006-08-13 0:24 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-13 0:24 Yurkovsky Andrey [this message] 2006-08-13 7:15 ` Yuri N. Glibovetz 2006-08-14 13:02 ` Yurkovsky Andrey 2006-08-14 10:25 ` Evgenii Terechkov 2006-08-24 18:36 ` Yurkovsky Andrey 2006-08-26 15:01 ` Olvin 2006-08-27 14:35 ` Yurkovsky Andrey 2006-08-27 12:21 ` Olvin 2006-08-28 11:03 ` Yurkovsky Andrey 2006-08-28 16:04 ` Olvin 2006-08-28 19:03 ` Sergei Boudnik 2006-08-29 11:49 ` Yurkovsky Andrey 2006-08-29 14:36 ` Yurkovsky Andrey 2006-08-29 15:27 ` Olvin 2006-09-01 20:51 ` Yurkovsky Andrey
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=200608130024.11706.anyr@tut.by \ --to=anyr@tut.by \ --cc=community@lists.altlinux.org \ /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