2

We need a practical way (not just in theory) to start a job in asp.net in a given time or in intervals.
the job could be to run a web service, a certain function or executing a page.

is there any new approach in ASP.Net 4 to do this?
or is there any reliable way other than using windows schedule tasks when using a shared hosting environment ?

mhmd
  • 995
  • 2
  • 15
  • 30

2 Answers2

1

Take a look at http://quartznet.sourceforge.net/

Quartz.NET is a full-featured, open source job scheduling system that can be used from smallest apps to large scale enterprise systems.

This thread on SO describes how to use it in Asp.net: How to use Quartz.net with ASP.NET

Community
  • 1
  • 1
Geoff Appleford
  • 18,538
  • 4
  • 62
  • 85
0

If your hosting company prevents you from running Windows Scheduler on the server, use any of online task schedule services that make HTTP requests to any of your pages on the schedule that you set.