Hi,
I'm about to write a console app which will run once a week at 2am on Sunday Morning. It's going to interrogate a SQL server database, then perform some calculations and then write the results to a new database.
It's processing hundreds of thousands of records so it's going to take hours to complete.
I'm going to create a C# console app and use windows scheduler to start it.
My questions are:
1) Do you think this is a good approach to take? 2) In the past, similar console apps have put the CPU usage at 100% while it continuously loops. Is there a good way to properly handle threading etc?
Any advice before I start would be very much appreciated.
T