Need to create background process to do DB management
Posted on 2003-12-03
I'll give more points for the right answer.
I want to create a Windows app in C# that does some simple DB stuff, such as adding a new employee. When this program starts, it also creates another thread(?) that periodically accesses the database (ex. sql server) and does some stuff to it. This background process would wake up every 10 min, for example, does what it needs to do, then goes to sleep for 10 min. The process has to run asynchronously to the main app.
What I'm looking for is a prototype of this main app/background process. Thanks.