C#C
C#2y ago
Shiv

Scheduling task in c# with failproof mechanism

Hi Team,

I need to execute a function say at 9 pm everyday. I have used Task scheduler. That is working fine. But the thing is I don't have control over it when something fails. If Something fails ,I need to retry 'n' times .
1) Should retry mechanism be a part of main code itself or as seperate job which takes all the failed items and update the status.
2) Is there any better open source libraries available than Task Scheduler.

Can anyone help please.

Thanks
Was this page helpful?