查看Azure的WebJob附表门户网站? [英] View Azure WebJob Schedule in Portal?

查看:187
本文介绍了查看Azure的WebJob附表门户网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过Visual Studio集成到每天运行一次创建一个日程安排一个简单的Azure WebJob。

I created a simple Azure WebJob with a schedule via the Visual Studio integration to run once per day.

我已经部署了WebJob并看到它在我在Azure上的应用程序上市。

I've deployed the WebJob and see it listed in my app on Azure.

在这里输入的形象描述

{
  "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
  "webJobName": "MyJob",
  "startTime": "2015-12-10T03:00:00-05:00",
  "endTime": null,
  "jobRecurrenceFrequency": "Day",
  "interval": 1,
  "runMode": "Scheduled"
}

我怎样才能竟一下子登录到Azure的门户网站看到,它实际上会在凌晨3点运行?我相信,它使用引擎盖下的计划,但我没有看到它在我的时间表名单新的条目。

How can I actually once logged into the Azure Portal see that it will in fact run at 3 AM? I believe it uses the Scheduler under the hood, but I don't see it new entry in my list of Schedules.

推荐答案

在最新的版本,使用WebJobs可以触发在 TimerTrigger ,这样你就不能依靠调度。

In the latest release, WebJobs can be trigger using the TimerTrigger so that you don't rely on the scheduler.

要回答你的问题,是的,计划WebJob依靠调度。如果你没有在调度看到一个项目,我怀疑它要运行。因此,也许你可以在门户网站上进行配置,以确保它要运行。

To answer your question, YES, the scheduled WebJob rely on the scheduler. If you don't see an item in the scheduler, I doubt it's going to run. So maybe you can configure it on the portal to ensure it's going to run.

我的建议是完全迁移到新的WebJobs SDK和使用TimerTrigger扩展。

My suggestion is to completely migrate to the new WebJobs SDK and use the TimerTrigger Extension.

希望这有助于

这篇关于查看Azure的WebJob附表门户网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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