Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommend a C# Task Scheduling Library [closed]

I'm looking for a C# library, preferably open source, that will let me schedule tasks with a fair amount of flexibility. Specifically, I should be able to schedule things to run every N units of time as well as "Every weekday at XXXX time" or "Every Monday at XXXX time". More features than that would be nice, but not necessary. This is something I want to use in an Azure WorkerRole, which immediately rules out Windows Scheduled Tasks, "at", "Cron", and any third party app that requires installation and/or a GUI to operate. I'm looking for a library.

like image 835
ssmith Avatar asked Feb 03 '09 14:02

ssmith


People also ask

Is 72 a good temperature for air conditioning?

Once you have the right size air conditioner, there's still an ideal temperature range to consider. It's best to not set your thermostat lower than 70 to 72 degrees. Most units are not designed to cool a house below that point, and you risk the system freezing up.

Is 74 a good temperature for air conditioning?

Typically, our bodies are most comfortable when the air inside our home is 74-76 degrees. So, a safe setting is 75 degrees. However, this is only necessary when you're in your home.


2 Answers

http://quartznet.sourceforge.net/

"Quartz.NET is a port of very propular(sic!) open source Java job scheduling framework, Quartz."

PS: Word to the wise, don't try to just navigate to quartz.net when at work ;-)

like image 178
Tiberiu Ana Avatar answered Sep 30 '22 09:09

Tiberiu Ana


I used Quartz back in my Java days and it worked great. I am now using it for some .Net work and it works even better (of course there are a number of years in there for it to have stabalized). So I certainly second the recommendations for it.

Another interesting thing you should look at, that I have just begun to play with is the new System.Threading.Tasks in .Net 4.0. I've just been using the tasks for parallelizing work and it takes great advantage of multi cores/processors. I noticed that there is a class in there named TaskScheduler, I haven't looked at it in detail, but it has methods like QueueTask, DeQueTask, etc. Might be worth some investigation at least.

like image 33
MikeD Avatar answered Sep 30 '22 08:09

MikeD