Gentoo Archives: gentoo-user

From: Kaushal Shriyan <kaushalshriyan@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] crontab entry
Date: Mon, 24 Mar 2008 12:25:20
Message-Id: 6b16fb4c0803240525p17b1d8b7v51b6956af882f26f@mail.gmail.com
In Reply to: Re: [gentoo-user] crontab entry by Peter Humphrey
1 On Mon, Mar 24, 2008 at 4:36 PM, Peter Humphrey <peter@××××××××××××××.org>
2 wrote:
3
4 > On Monday 24 March 2008 10:19:25 Collin Starkweather wrote:
5 >
6 > > ... you left a '>' out of your rsync call. It's fixed below.
7 >
8 > His version is exactly the same as yours, apart from layout. I suggest
9 > that
10 > the '>' at the beginning of a line has confused your mail reader.
11 >
12 > --
13 > Rgds
14 > Peter
15 > --
16 > gentoo-user@l.g.o mailing list
17 >
18 >
19 Hi Collin
20
21 I have two scripts file
22 one is http://pastebin.com/m263e6f3c and http://pastebin.com/m175098db.
23
24 The requirement is run http://pastebin.com/m175098db script once the below
25 line succeeds in the http://pastebin.com/m263e6f3c
26
27 if /usr/bin/rsync -av /var/lib/mysql host77:/var/lib/ >
28 /tmp/rsync-${TIMESTAMP}.log 2>&1
29 then
30 /usr/bin/mailx -s "Success: host77 DB refresh daily" kaushal@×××××××.com <
31 /tmp/rsync-${TIMESTAMP}.log
32
33 I am not able to proceed
34
35 Thanks and Regards
36
37 Kaushal

Replies

Subject Author
Re: [gentoo-user] crontab entry Uwe Thiem <uwix@××××.na>