I have 5-6 cron jobs running daily.

Is it possible that when rsync runs then i can insert the files copies , deleted , size , any error if there and all other stuff inside mysql databse so that i can write php script to see the rsync history

link|improve this question
feedback

1 Answer

Yes, of course it's possible. Redirect the output to a file, parse it into fields and values using a script. Then do SQL INSERT INTO commands.

link|improve this answer
Can everything be done in one step . i mean on rsync command line – John May 3 '10 at 6:39
feedback

Your Answer

 
or
required, but never shown