Dotnet调度程序,如Windows“预定任务”,调度? [英] Dotnet scheduler like the Windows "Schedued Tasks" scheduler?

查看:81
本文介绍了Dotnet调度程序,如Windows“预定任务”,调度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在.Net中编写一个涉及一些任务调度的应用程序。我想知道是否有人来到任何组件或示例如何实现一个日程管理器,例如Windows的任务计划程序中的计划管理器?


基本上我是在接受某些东西后会允许我指定一个反复出现的东西。或者

一旦关闭安排使用高级选项,例如

月份的第一个星期一等等


我可以继续写我自己的,但是一个小小的声音一直在窃窃私语

字样Code Reuse和继续,懒惰 ;)


如果我找不到任何有用的东西,我会继续写下我自己的。

如果有其他人我对这样一个可重复使用的组件感兴趣,让我知道你的想法是什么,我会在编写时将它们考虑在内。接近

圣诞节等等,我甚至可以发布完成的代码;)


欢呼帮助。


Trev。

Hi,

I am writing an App in .Net that involves some scheduling of tasks. I was
wondering if anybody has come accross any components or examples of how to
implement a schedule manager like the one in the Task Scheduler for Windows?

Basically I''m after something that''ll allow me to specify a "recurring" or
"once off" schedule with advanced options like "the first monday in the
month" etc.

I could go ahead and write my own, but a wee voice keeps whispering the
words "Code Reuse" and "go on, be lazy" ;)

If I can''t find anything that is of any use, I''ll go ahead and write my own.
If anybody else is interested in a reusable component like this, let me know
your ideas and I''ll take them into account when writing it. Being close to
Christmas and all that, I might even post the finished code ;)

Cheers for the help.

Trev.


推荐答案



" Codemonkey" <胡********* @ hotmail.com>在消息中写道

news:uo ************** @ TK2MSFTNGP11.phx.gbl ...

"Codemonkey" <hu*********@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...

我正在.Net中编写一个涉及一些任务调度的应用程序。我想知道是否有人遇到任何组件或示例如何实现如
Windows任务计划程序中的计划管理器?
基本上我是之后会允许我指定一个重复的东西。或者一旦关闭安排使用高级选项,例如
月份的第一个星期一

我可以继续写下我自己的,但是一个小小的声音一直在窃窃私语Code Reuse。和继续,懒惰 ;)

如果我找不到任何有用的东西,我会继续写下我自己的
。如果其他人对这样的可重用组件感兴趣,那么让我知道你的想法,我会在编写时将它们考虑在内。接近圣诞节和所有这些,我甚至可以发布完成的代码;)
Hi,

I am writing an App in .Net that involves some scheduling of tasks. I was
wondering if anybody has come accross any components or examples of how to
implement a schedule manager like the one in the Task Scheduler for Windows?
Basically I''m after something that''ll allow me to specify a "recurring" or
"once off" schedule with advanced options like "the first monday in the
month" etc.

I could go ahead and write my own, but a wee voice keeps whispering the
words "Code Reuse" and "go on, be lazy" ;)

If I can''t find anything that is of any use, I''ll go ahead and write my own. If anybody else is interested in a reusable component like this, let me know your ideas and I''ll take them into account when writing it. Being close to
Christmas and all that, I might even post the finished code ;)




只需使用一个窗口:
http://www.msjogren.net/dotnet/eng/samples/misc .asp
http://www.codeproject。 com / csharp / ta ... lerlibrary.asp
http://www.codeproject.com/csharp/TSNewLib.asp



Just use the windows one:
http://www.msjogren.net/dotnet/eng/samples/misc.asp
http://www.codeproject.com/csharp/ta...lerlibrary.asp
http://www.codeproject.com/csharp/TSNewLib.asp




此外,我已经看到这个包装Windows任务计划程序的例子

API:

http://www.codeproject.com/csharp/TSNewLib.asp


但我对一个人更感兴趣这是一个自我包含 ed

(即在控制面板中不创建任务 - 甚至是隐藏的任务。)

In addition, I''ve seen this example that wraps the windows Task Scheduler
API:

http://www.codeproject.com/csharp/TSNewLib.asp

But I''d be more interested in one that is a little bit more "self-contained"
(i.e. doesn''t create Tasks in the Control Panel - even hidden ones.)


谢谢。我看到了这些,忘了在我的第一篇文章中提到它们。虽然

但它正是我所需要的,我想要一个自包含的(在我的另一篇文章中解释为


<无论如何,
干杯。


Trev。
Thanks. I seen these and forgot to mention them in my first post. Although
it''s pretty much exactly what I need, I''d like a self contained one (as
explained in my other post)

Cheers anyway.

Trev.


这篇关于Dotnet调度程序,如Windows“预定任务”,调度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆