On Mon, Mar 24, 2008 at 4:36 PM, Peter Humphrey <[EMAIL PROTECTED]>
wrote:

> On Monday 24 March 2008 10:19:25 Collin Starkweather wrote:
>
> > ... you left a '>' out of your rsync call. It's fixed below.
>
> His version is exactly the same as yours, apart from layout. I suggest
> that
> the '>' at the beginning of a line has confused your mail reader.
>
> --
> Rgds
> Peter
> --
> gentoo-user@lists.gentoo.org mailing list
>
>
Hi Collin

I have two scripts file
one is http://pastebin.com/m263e6f3c and http://pastebin.com/m175098db.

The requirement is run http://pastebin.com/m175098db script once the below
line succeeds in the http://pastebin.com/m263e6f3c

if /usr/bin/rsync -av /var/lib/mysql host77:/var/lib/ >
/tmp/rsync-${TIMESTAMP}.log 2>&1
then
  /usr/bin/mailx -s "Success: host77 DB refresh daily" [EMAIL PROTECTED] <
/tmp/rsync-${TIMESTAMP}.log

I am not able to proceed

Thanks and Regards

Kaushal

Reply via email to