Nope, that would be pretty stupid. Some people scale their system up, and then - it suddenly runs on two servers.s. Sometimes without the customer knowing (what do you mean, it now runs clustered - I only bought the high availablity thing).
Use an external callback service to trigger your recurring tasks. They exist. YOu register tit there, and it call a URL you defined.
Actually no, that would not work reliable. A callback service looks like the best solution. We are just starting to implement one for our PowerNodes CMS :-) Aftrer a lot of thinking we came to the conclusion that this is basically about the best way to tackle
that.
Some people care about having the same website run on multiple servers (scaling out). Any server-local thing will run multiple times there, too (and do not start with web-garden scenarios). So it has to be something external.
DuNuNubatman
Member
55 Points
11 Posts
Scheduled Tasks
Jan 24, 2006 05:23 PM|LINK
Right now the only way to create scheduled tasks would be to create a service or use the scheduled tasks in system tools correct?
You know what would be cool, is add a namespace in the Web.config file just for scheduling tasks that need to be run.
thona
Member
20 Points
2923 Posts
Re: Scheduled Tasks
Jan 25, 2006 08:42 AM|LINK
Nope, that would be pretty stupid. Some people scale their system up, and then - it suddenly runs on two servers.s. Sometimes without the customer knowing (what do you mean, it now runs clustered - I only bought the high availablity thing).
Use an external callback service to trigger your recurring tasks. They exist. YOu register tit there, and it call a URL you defined.
DuNuNubatman
Member
55 Points
11 Posts
Re: Scheduled Tasks
Jan 25, 2006 03:05 PM|LINK
Good point
The callback service is still a pain in the ass, it needs a feature that is built in, sort of like what ColdFusion does.
thona
Member
20 Points
2923 Posts
Re: Scheduled Tasks
Jan 25, 2006 05:55 PM|LINK
Actually no, that would not work reliable. A callback service looks like the best solution. We are just starting to implement one for our PowerNodes CMS :-) Aftrer a lot of thinking we came to the conclusion that this is basically about the best way to tackle that.
Some people care about having the same website run on multiple servers (scaling out). Any server-local thing will run multiple times there, too (and do not start with web-garden scenarios). So it has to be something external.
orellabac
Member
2 Points
3 Posts
Re: Scheduled Tasks
Feb 04, 2013 03:24 PM|LINK
I think you should take a look at http://quartznet.sourceforge.net/