I am creating GUI interface in asp.net in which users will specify a time to schedule and a job which will run at sometime in the future.
The job in my application is an instance of a Person class (given below). At a specified time, I want to run the "submit()" method of the created person instance.
e.g.
public class Person
{
string User {get;set;}
public void Submit()
{
//create a text file with User entry
}
}
Now in MS SQL, I have a Jobs table. Jobs table has ScheduledTime (DateTime), JobDetail (XML) columns (where JobDetail column stores serialized version of Person object e.g. <Person User="TestUser"></Person>
, Scheduled time: 2/2/10 12:12:11
I am aware that Quartz.Net can run jobs at their scheduled time. But I don't know how to use Quartz.Net with Spring.Net to pick up the jobs from DB and run them at their scheduled time?
Is it possible? If so can you please guide?