Scheduled Tasks for Web Applications
Hosted web applications also sometimes need some processing activities which needs to be run periodically at defined time intervals without any user intervention. But Http being stateless in nature, there can not be persistent processes running on the webserver. For example, you can have some thread in ASP.NET which keeps ticking a non-stop timer.
Fortunately, there are a lot of options or workarounds available to address this gap.
- Windows Scheduled Task or a NT service to be installed which keeps ticking and then invokes appropriate methods in the web application.
- Commercial components like the ones described in DnZone website.
- The points (1) and (2) however requires, desktop access and privileges on the webserver. If our hosting account is shared, then most probably, our web host might not allow to run scheduled tasks on the webserver. There is some good news for those underprivileged as well.
Hosted Scheduler Services
No comments:
Post a Comment