On Fri, Mar 21, 2008 at 9:40 PM, Eric Walstad <[EMAIL PROTECTED]> wrote:
> Kaushal Shriyan wrote: > > Hi > > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ > > > > If i put this two lines in crontab it will run correctly,My requirement > > was to create a python script, this python script should indicate > > success or failures and the reason for failure > It looks like rsync can output to a text file. Python makes text > parsing a breeze. Have you defined 'indicate', 'success' and 'failure' > yet? When will your python script run? Who/What will run it? > Hi Eric Can i have a sample python script which can take care of this rsync application and at the same time indicating success and failure and the reason for failure Thanks and Regards Kaushal
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor