G
Guest
Hi Experts
I've written a c# windows service which runs another program at certain
intervals. The other program may take upto 20 minutes to complete it's tasks.
My question is what happens to the other program if a user decides to
manually stop the service (or there was a power cut) when the tasks have not
fully completed?
Should I wrap the other program within a transaction?
Is this the best approach or am I making things over complicated?
Many thanks
I've written a c# windows service which runs another program at certain
intervals. The other program may take upto 20 minutes to complete it's tasks.
My question is what happens to the other program if a user decides to
manually stop the service (or there was a power cut) when the tasks have not
fully completed?
Should I wrap the other program within a transaction?
Is this the best approach or am I making things over complicated?
Many thanks