I was checking out the scheduler but i am not sure if it supports all the needs a scheduler would have ? lets see what telerik have to say about a common scenario which i have
i have list huge list of vendors that is growing constantly. so esentially i need to eblast those vendors using a rad editor template. so basically i want to take a 3 step approach.
1. User creates a search criteria which will filter the vendors that they want to ebast like find me vendors who belong to USA. Save the criteria in the database.
2. Create A template that they would send to the criteria created above. and save the template using rad editor to the datbase.
3. using hte scheduler. schedule reoccurring eblast using two resources one would be the template and second would be the search criteria they want to eblast. Ok this looks fine and dandy. so i have everything i need being saved to the database. which includes the schedule, template and the criteria.
But the question is how do i find the schedule is hit. like eblast vendors every sunday at 5:00 pm every week. I want to be able to saysomething
Appoeint a = new Appointment();
a.CanProcess()
well CanProcess depends on couple of factors.
First is that appointment valid means today is saturday and appointment is scheduled on sunday so therefore this appointment is really not valid.
Consider valid appointments to be identified as valid as long as they lie less then half an hour of the current date.
Second the appointment is really valid cuz it has not been processed.
I am not sure but i think some of this could be provided out of the box. like is this appointment between half an hour of the current date. With scheudler supporting complicated schedules. it could turn out to be hard to find out if some appointment is less then half an hour of current time.
appointment.HasHappenedIN(half an hour) or
appointment.LastHappenedDate + 30 min = DateTime.Now
do something.
i dont know may be this seems like business scenario then a control scenario but i think as far as dates are concerned regarding appointments. something should come out fo the base class.
Lets see what telerik has to say
i have list huge list of vendors that is growing constantly. so esentially i need to eblast those vendors using a rad editor template. so basically i want to take a 3 step approach.
1. User creates a search criteria which will filter the vendors that they want to ebast like find me vendors who belong to USA. Save the criteria in the database.
2. Create A template that they would send to the criteria created above. and save the template using rad editor to the datbase.
3. using hte scheduler. schedule reoccurring eblast using two resources one would be the template and second would be the search criteria they want to eblast. Ok this looks fine and dandy. so i have everything i need being saved to the database. which includes the schedule, template and the criteria.
But the question is how do i find the schedule is hit. like eblast vendors every sunday at 5:00 pm every week. I want to be able to saysomething
Appoeint a = new Appointment();
a.CanProcess()
well CanProcess depends on couple of factors.
First is that appointment valid means today is saturday and appointment is scheduled on sunday so therefore this appointment is really not valid.
Consider valid appointments to be identified as valid as long as they lie less then half an hour of the current date.
Second the appointment is really valid cuz it has not been processed.
I am not sure but i think some of this could be provided out of the box. like is this appointment between half an hour of the current date. With scheudler supporting complicated schedules. it could turn out to be hard to find out if some appointment is less then half an hour of current time.
appointment.HasHappenedIN(half an hour) or
appointment.LastHappenedDate + 30 min = DateTime.Now
do something.
i dont know may be this seems like business scenario then a control scenario but i think as far as dates are concerned regarding appointments. something should come out fo the base class.
Lets see what telerik has to say