English 中文(简体)
如何在 Web 服务器上未安排任务的情况下运行已排定任务
原标题:How to run scheduled task without scheduled task on web server
  • 时间:2012-05-23 12:30:34
  •  标签:
  • asp.net

我的客户已更改了网络主机 。 在旧的网络主机上, 可以选择运行预定任务 。 我有一个 url 网站.com/st.aspx, 每月需要运行一次 。

在新的网络服务器上,没有预定的任务( 无法工作, 管理员无法完成任务), 我还有其他方法可以像 ST 一样运行我的 URL 。

最佳回答

我也有同样的问题 使用在线服务

http://http.sh/index.php

当然,下面的一面是 你依赖第三党 但它似乎相当可靠。

问题回答

您可以从已设定任务任务的“ 强” 服务器 < / 强” 调用它 。

或者,如果您重新网站至少得到一些流量,您可以调用 st.aspx 中执行的从 global.asax 处到某个地方,当您最后一次调用它以防止每月调用一次以上时。

另一种可能性是尝试找到一个 < 坚固的 > 超时监控服务 , 您可以配置它, 每月只能拨打一次您的 URL...





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签