Recommend C # Task Planning Library

I am looking for a C # library, preferably open source, that will allow me to plan tasks with enough flexibility. In particular, I should be able to plan for everything to be executed every N units of time, as well as "Every weekday XXXX times" or "Every Monday XXXX times." More features than would be good, but not necessary. This is what I want to use in Azure WorkerRole, which immediately excludes scheduled Windows tasks, "on", "Cron" and any third-party application that requires installation and / or a graphical interface to work. I am looking for a library.

+47
c # scheduled-tasks azure
Feb 03 '09 at 14:20
source share
6 answers

http://quartznet.sourceforge.net/

"Quartz.NET is a very propulsive (sic!) Port to the open source Java scheduling framework, Quartz."

PS: A word to the wise, do not try to just go to quartz.net when at work; -)

+55
Feb 03 '09 at 14:24
source share
— -

I used Quartz in my Java days and it worked great. I am now using it for some kind of .Net work, and it works even better (of course, there are several years so that it can stabilize). Therefore, I, of course, recommend a second time for this.

Another interesting thing that you should pay attention to, which I just started to play, is the new System.Threading.Tasks program in .NET 4.0. I just used tasks to parallelize work, and it enjoys a big advantage for several cores / processors. I noticed that it has a TaskScheduler class in it, I did not look at it in detail, but it has methods such as QueueTask, DeQueTask, etc. Perhaps at least some research is worth it.

+7
Nov 20 '09 at 23:11
source share
+6
03 Feb '09 at 14:22
source share

I read about Quartz in this question. How can I schedule a Windows C # service to complete a task daily? . It is a C # library and allows flexible planning.

+5
Feb 03 '09 at 14:25
source share

Quartz seems like a good solution.

I recently (this year) had to write a personalized task scheduler for a large project that I was working on. They also could not use the Windows task scheduler, and also wanted to be able to perform custom functions by loading assemblies (via the ASP.net website), and the service completed the corresponding task at the specified time.

The thing was honestly a bit of a nightmare (not much for design and implementation, but the planning logic was a bit over-tightened).

I would highly recommend that you exhaust all other possibilities before deciding to quit your own (aka reinvent the wheel!).

+3
Nov 04 '09 at 16:21
source share

There is a new cloud computing scheduler from Aditi Technologies called Scheduler .

The scheduler allows developers to schedule tasks through HTTP webhooks that run on simple or complex CRON graphs.

+1
May 29 '13 at 17:46
source share



All Articles