创建应用程序的调度程序 [英] create a scheduler to application

查看:77
本文介绍了创建应用程序的调度程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个Web应用程序,允许用户查看项目详细信息并更改项目状态(有5个状态选项).
我需要创建一个每天运行的调度程序,并检查以下情况:
如果最近3个月内没有人更改项目状态,请向x,y,z发送电子邮件.
我知道使用什么代码来检查状态并通过vb.net发送电子邮件,但是我不知道如何以自动自动打开的方式进行操作(我猜想是使用调度程序) ),则每天都在同一时间发送,并且在满足上述条件的情况下将发送电子邮件..

你能帮忙吗?

thanx!

Hi,

I have a web application that allows the user to see a project details and to change the project status (there are 5 status options).
I need to create a scheduler that will run every day and check this condition:
if no one changed the project status for the last 3 months, send email to x,y,z.
I know what code to use to check the status and send emails with vb.net, but I have no idea how to do it in a way that it will open by itself automaticaly (with a scheduler I guess), every day at the same time and will send the emails if the condition above applies..

can you help??

thanx!

推荐答案

为什么不使用
Why don''t you use the Windows Task Scheduler[^] for the purpose?


那更好使用窗口服务.

设置您的愿望来完善您的服务.

每次启动计算机时,窗口服务都会自动运行.
在Google上进行更多搜索.
Thats better to use window service .

Set your desire timmings your Service.

Window service run automaically when ever you start your computer .
for more search on google.


我将创建一个简单的控制台应用程序来完成工作,并使用Windows Task Scheduler安排其执行时间.
I would create a simple console application doing the work, and use the Windows task Scheduler to schedule its execution.


这篇关于创建应用程序的调度程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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