Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I do Time based / scheduled events in .NET?
    primarykey
    data
    text
    <p>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.</p> <p>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.</p> <p>What are some common solutions to handle this?</p> <p>I'm using .NET 3.5 SP1. DB is Sql Server 2008. UI will be webbased though.</p> <p>I wasn't sure if people use MSMQ? Or something built into Sql Server? Or some open source library (eg. <a href="http://quartznet.sourceforge.net/index.html" rel="nofollow noreferrer">Quartz.NET</a>) with an NT Service. Server will be windows 2008 standard edition.</p> <p>Also - please not suggestions to use a cron job equivalent or any command line scripts, etc.</p> <p>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.</p> <p>cheers :)</p> <p>edit: Logic to process when an event is required to be fired, are background jobs. No UI required.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload