Hi folks,
I need to offer scheduling of actions/events, in our web site. A crap analogy could be a calendar system, where a person adds a calendar item and when the date/time has been 'hit', then some logic (eg calculate a report) is fired.
I could be having hundreds and even thousands of scheduled events that are entered by my clients. When a client enters something to get scheduled, I will save that info to the database. Then i'm guessing i'll added an event/job somewhere, which will contain the database table primary key. when the event is to be fired, i'll grab that info from the db, then do the logic. done.
What are some common solutions to handle this?
I'm using .NET 3.5 SP1. DB is Sql Server 2008. UI will be webbased though.
I wasn't sure if people use MSMQ? Or something built into Sql Server? Or some open source library (eg. Quartz.NET) with an NT Service. Server will be windows 2008 standard edition.
Also - please not suggestions to use a cron job equivalent or any command line scripts, etc.
Finally, and this is a secondary objective .. i'd love to throw this up onto azure for shiz and giggles ... so is the also possible? it's only a wish list idea. I would prefer to do it on a dedicated box if the solution is easier, than using Azure.
cheers :)
edit: Logic to process when an event is required to be fired, are background jobs. No UI required.