I want to implement every-minute database stored procedure executing in ASP.NET MVC web site using Quartz.Net. I wonder how can I exec the procedure with and without parameters.
Asked
Active
Viewed 1,086 times
3 Answers
2
Well, it's a matter of configuring the scheduler and then in the job implementation call the stored procedure. Also if you are using SQL Server haven't you considered doing this using the server agent?

Community
- 1
- 1

Darin Dimitrov
- 1,023,142
- 271
- 3,287
- 2,928
-
I have no ability to use SQL Server Agent, that is why I have to use Quartz. – Sergey Metlov May 17 '11 at 17:55
1
It would be easier to use Reactive.NET and drop it in a Windows service (it takes just a few minutes with Topshelf).
Observable
.Interval(TimeSpan.FromMinutes(1))
.Subscribe(i => ExecuteStoredProc());

Ryan
- 4,303
- 3
- 24
- 24