我正在研究一个Web应用程序,我希望每天在一个决定的时间内运行一个方法。我怎样才能做到这一点。 [英] I Am Working On A Web Application And I Want To Run A Method Every Day In A Decided Time Automatically. How Can I Do This.

查看:75
本文介绍了我正在研究一个Web应用程序,我希望每天在一个决定的时间内运行一个方法。我怎样才能做到这一点。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在微粒时间内每天自动运行我的mvc Web应用程序的方法?

how can i run a method of my mvc web application automatically every day in a particulate time?

推荐答案





你可以以非常有效的方式实现它。请按照以下步骤操作。



1.)创建一个新的控制台应用程序并保留您的方法。

2.)使用Windows任务调度程序安排它在特定的时间间隔内运行。在调度程序中安排它,你的工作就完成了。



Windows任务调度程序你可以安排你想要运行的任何类型的任务,你可以提到日期和时间运行应用程序。如需安排任何申请,请参阅链接这里



谢谢,

Sisir Patro
Hi,

you can achieve it in a very efficient manner. Follow the following steps.

1.) Create a new console application and keep your method there.
2.) Use the windows task scheduler for scheduling it to be run in a particular interval of time. Schedule it in the scheduler and your work is done.

Windows task scheduler you can schedule any kind of task you want to run and you can mention the date and time for running the application. For scheduling any application please refer the link here.

Thanks,
Sisir Patro


这篇关于我正在研究一个Web应用程序,我希望每天在一个决定的时间内运行一个方法。我怎样才能做到这一点。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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