From: "Kaushal Shriyan" <kaushalshriyan@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] rsync script
Date: Fri, 21 Mar 2008 13:03:40 +0530 [thread overview]
Message-ID: <6b16fb4c0803210033u602d385fx240c1d90db9b844c@mail.gmail.com> (raw)
In-Reply-To: <200803210926.46936.alan.mckinnon@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon <alan.mckinnon@gmail.com>
wrote:
> On Friday 21 March 2008, Kaushal Shriyan wrote:
> > Hi
> >
> > MAILTO=kaushal@example.com
> > 0 18 * * * rsync -av /var/lib/mysql kaushal@host77:/var/lib/
> >
> > If i put this two lines in crontab it will run correctly,My
> > requirement was to create a script, this script should indicate
> > success or failures and the reason for failure
>
> crontab will only send a mail is there is anyput to stdout. What output
> do you get if you run the rsync manually?
>
Hi Alan
When i run the rysnc command by hand, it runs successfully without any
issues. I can see it on stdout saying building list files........ and then
the rsync process
> Do you have any packages installed that can actually send the mail?
>
I did not understand this question
Thanks and Regards
Kaushal
>
>
> --
> Alan McKinnon
> alan dot mckinnon at gmail dot com
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 1791 bytes --]
next prev parent reply other threads:[~2008-03-21 7:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 6:52 [gentoo-user] rsync script Kaushal Shriyan
2008-03-21 7:26 ` Alan McKinnon
2008-03-21 7:33 ` Kaushal Shriyan [this message]
2008-03-21 8:33 ` Collin Starkweather
2008-03-21 8:59 ` Kaushal Shriyan
2008-03-21 9:38 ` Collin Starkweather
2008-03-21 12:22 ` Alan McKinnon
-- strict thread matches above, loose matches on Subject: below --
2008-04-04 10:05 Kaushal Shriyan
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=6b16fb4c0803210033u602d385fx240c1d90db9b844c@mail.gmail.com \
--to=kaushalshriyan@gmail.com \
--cc=gentoo-user@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox