I am building a web application in asp.net MVC and am thinking how I can get certain conditional tests to happen regularly.
Currently I am planning on having a page such as /utility/runJobs that will have a function in it that will test the whole site for dates meeting certain conditions etc..
I would then trigger this page from a service or other trigger service.
I would probably run this every min incase new notifications had to be sent out, or a Log item had to be written, or a status updated.
Can anyone suggest a better way of doing this.
EDIT___________
Imagine how the notification emails for ebay are sent?
I guess that the badges on stack over flow are tested when a user comes to the site, and only for that user.