Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么重新启动功能应用程序的Azure应用程序服务时没有同步Azure功能?_Azure_Azure Functions - Fatal编程技术网

为什么重新启动功能应用程序的Azure应用程序服务时没有同步Azure功能?

为什么重新启动功能应用程序的Azure应用程序服务时没有同步Azure功能?,azure,azure-functions,Azure,Azure Functions,在azure Dev Ops中部署带有zip deploy的azure函数时,时间触发器函数仅在我强制在azure门户中运行时才起作用 是否有解决方案可以在部署中解决此问题 Function.json { "generatedBy": "Microsoft.NET.Sdk.Functions-1.0.29", "configurationSource": "attributes", "bindings": [ { "type": "timerTrigger",

在azure Dev Ops中部署带有zip deploy的azure函数时,时间触发器函数仅在我强制在azure门户中运行时才起作用

是否有解决方案可以在部署中解决此问题

Function.json

{
  "generatedBy": "Microsoft.NET.Sdk.Functions-1.0.29",
  "configurationSource": "attributes",
  "bindings": [
    {
      "type": "timerTrigger",
      "schedule": "%[Schedule]%",
      "useMonitor": true,
      "runOnStartup": false,
      "name": "myTimer"
    }
  ],
  "disabled": false,
  "scriptFile": "../bin/[ScriptFile]",
  "entryPoint": "[entryPoint].Run"
}

由于隐私问题,[]之间是假命名

我找到了解决方案。我在发布管道中添加了一个无代理作业,并添加了Invoke Rest API以发布synctrigger。

恭喜,您找到了解决方案。你能把你的答案标记为这个问题的答案吗?这将有助于其他人。:)