Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to many scheduler they work in daily bases but i want that if some problem come in execution like execption or network problem then I automaticly recover the remanig job automatically done by it.so whereto start and how to do i do not know Please gide ma or give me some logic.
Thanks
Posted

1 solution

Your best bet is to maintain some sort of progress file (I would probably use a XML file).

When the job is about to start, put the job identifying info into the file, and when the job is successfully completed, remove the info. If the job fails, you can restart it based on the info in the file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900