简体   繁体   English

如何安排 C# Windows 服务在每个月的特定日期执行任务?

[英]How might I schedule a C# Windows Service to perform a task on particular date of every month?

I have a windows service written in C# and want it to perform task while on start of service it need to send an email to a person on a particular date of every month.I have completed with email part how to schedule task using particular date. I have a windows service written in C# and want it to perform task while on start of service it need to send an email to a person on a particular date of every month.I have completed with email part how to schedule task using particular date.

You can check HERE: hope it will be a help for you.And there are others ways to serve the same propose too https://www.aspsnippets.com/Articles/Automatically-send-emails-daily-at-specific-time-using-Windows-Service-in-C-and-VBNet.aspx您可以在这里查看希望它对您有所帮助。还有其他方法可以提供相同的建议-使用-Windows-Service-in-C-and-VBNet.aspx

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

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