简体   繁体   English

如何安排AC#应用程序?

[英]How to schedule a c# application?

I have developed one birthday reminder application. 我已经开发了一个生日提醒应用程序。 i wanted to schedule this application to run in every 1 hour. 我想安排此应用程序每1小时运行一次。

I would make it a console application or service application and use the windows task scheduler to schedule it to run hourly. 我将其设置为控制台应用程序或服务应用程序,并使用Windows任务计划程序将其计划为每小时运行一次。 Make sure you have error handling to alert you in case if fails for some reason. 确保您有错误处理措施,以防万一由于某种原因失败而发出警报。

我来晚了,但是您可以使用Quartz .Net library

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM