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?
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor