Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] rsync script

Kaushal Shriyan

2008-03-21

Replies:

Author LoginPost Reply
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
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.