From: "Kaushal Shriyan" <kaushalshriyan@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] rsync script
Date: Fri, 21 Mar 2008 12:22:58 +0530 [thread overview]
Message-ID: <6b16fb4c0803202352g75b851c5q93b23c5ab6c15093@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
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
Any ideas
Thanks and Regards
Kaushal
[-- Attachment #2: Type: text/html, Size: 384 bytes --]
next reply other threads:[~2008-03-21 6:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 6:52 Kaushal Shriyan [this message]
2008-03-21 7:26 ` [gentoo-user] rsync script Alan McKinnon
2008-03-21 7:33 ` Kaushal Shriyan
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=6b16fb4c0803202352g75b851c5q93b23c5ab6c15093@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