我试图发布我的网站以及一些 WebJobs,但是在 Azure 网站上创建网站和工作之后,我在 VS.NET 2013 上看到一个错误,上面写着:
Error 948 An error occurred while creating the WebJob schedule: No website could be found which matches the WebSiteName [mysitename] and WebSiteUrl [http://mysitename.azurewebsites.net] supplied
我的网站有 2 个 WebJobs,1 个连续运行并且它已创建并运行,但需要按计划触发的那个有此问题。
关于这里可能有什么问题的任何想法?
编辑 1
只是想补充一点,计划作业被创建为“按需”
这是我正在使用的发布设置:
{
"$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
"webJobName": "ArchiveShipments",
"startTime": "2015-01-11T00:00:00+05:30",
"endTime": null,
"jobRecurrenceFrequency": "Day",
"interval": 1,
"runMode": "Scheduled"
}
顺便说一句,我应用 AzureSDK 之后。2.5 我在发布时没有看到任何错误,但没有创建计划的 WebJob。