且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

每隔X分钟发送一次带文件的电子邮件

更新时间:2022-12-25 23:08:21

我建​​议使用定时器控件,然后甚至可能将其创建为Windows服务。
I would recommend using a timer control and then even possibly create this as a windows service.


这是 Windows任务的完美任务调度。例如,请参阅:Windows调度程序每x运行一次任务-分钟?在堆栈溢出 [ ^ ]。
This is perfect task for the the Windows Task Scheduler. See, for instance: "windows scheduler to run a task every x-minutes?" at Stack Overflow[^].