Tia*_*lva 9 azure azure-functions
我有一个在Azure中工作正常的timerTrigger函数,但在本地运行它时会返回"错误调用函数host:Unauthorized".怎么了 ?如何在本地运行时间触发器?
function.json
{
"bindings": [
{
"name": "myTimer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 30 8 * * 1"
}
],
"disabled": false
}
Run Code Online (Sandbox Code Playgroud)
在Visual Studio代码(或命令行)中执行它
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Projects\reporting-function> func run .\MyFunction\
Error calling the functions host: Unauthorized
PS C:\Projects\reporting-function>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
470 次 |
| 最近记录: |