Thanks for your reply. I have started on this.
Need one more help,
I have a scenario, where in when a job is completed, i need to write a success log.
When the next time it is executed the success log should get appended.
How do i do this?