ASP.Net C#中的预定作业 [英] Scheduled Job in ASP.Net C#

查看:67
本文介绍了ASP.Net C#中的预定作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个预定作业。我想在特定时间每天发送邮件。我该怎么做?



请帮帮我。这是非常紧急的。

I want to create one scheduled job. I want to send mail every day at a specific time. How can i do this?

Pls help me. It''s very urgent.

推荐答案

编写一个简单的控制台应用程序将负责在应用程序外部进行调度。



由Windows Scheduler或第三方调度程序安排的简单控制台应用程序将进行作业调度..



查看这些主题



http://stackoverflow.com/questions/14433795/how-to-send-mail-at-a-certain-time-from-asp-net-web-application [ ^ ]



如何在c#.net 中每天的特定时间发起一个动作[ ^ ]
writing a simple console application would take the responsibility of scheduling outside the application.

A simple console application scheduled by either Windows Scheduler or a 3rd party scheduler would do job scheduling..

check these threads

http://stackoverflow.com/questions/14433795/how-to-send-mail-at-a-certain-time-from-asp-net-web-application[^]

How initiate an action at a particular time every day in c#.net[^]


您可以通过编写Windows服务来完成此操作。检查以下链接:

send-automated-emails-asynchronously-using-ac-windows-service-in-conjunction-with-database-email-records [ ^ ]

通知服务 [ ^ ]

窗口服务自动发送邮件 [ ^ ]

如何 - 发送邮件 - 自动 - 换每隔五分钟使用一次csharp [ ^ ]
You can do this by writing a windows service. Check below links:
sending-automated-emails-asynchronously-using-a-c-windows-service-in-conjunction-with-database-email-records[^]
Notification-Service[^]
window-service-to-send-a-mail-automatically[^]
how-to-send-mail-automatically-for-every-five-minutes-using-csharp[^]


这篇关于ASP.Net C#中的预定作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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