From: Yurkovsky Andrey <anyr@tut.by> To: community@lists.altlinux.org Subject: Re: [Comm] Cron & Mail Date: Mon, 14 Aug 2006 13:02:15 +0000 Message-ID: <200608141302.19452.anyr@tut.by> (raw) In-Reply-To: <m3veox2re6.fsf@evg_home.krastel.ru> В сообщении от Воскресенье 13 Август 2006 04:25 evg@krastel.ru написал(a): > Yurkovsky Andrey пишет: > > Как я могу то же (всмысле 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 > > Читайте man 5 crontab на предмет примера изпользования > MAILTO. Strerr кроном в любом случае шлётся по почте, > ничего делать не надо специально. Ничего он не посылает, или не доходит :) Не знаю. Даже у root все чисто. > > '+%d-%m-%y'`.tar.gz /etc >> /home/anyr/tmp/out 2>&1 > > MAILTO="anyr" А вот это как раз из man 5 crontab (я это уже делал и выше писал об этом). -- Моя профессия - артист, а ваша - Жириновский
next prev parent reply other threads:[~2006-08-14 13:02 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-13 0:24 Yurkovsky Andrey 2006-08-13 7:15 ` Yuri N. Glibovetz 2006-08-14 13:02 ` Yurkovsky Andrey [this message] 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=200608141302.19452.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