问题描述
1。使用消费计划
2。通过DevOps进行部署(几天前在4-22部署,没有按计划运行)。
2. Deployment through DevOps (deployed several days ago on 4-22 with no issues with it running as scheduled).
3。 v2功能
4。不使用WEBSITE_TIME_ZONE
4. Not using WEBSITE_TIME_ZONE
5。 CRON表达式为:"0 * / 5 * * * *" (每五分钟一次)
5. CRON expression is: "0 */5 * * * *" (Every five minutes)
6。应该每五分钟运行一次,但截至09:30UTC尚未运行(目前为18:55UTC)。在Application Insights中查看最后一次运行时间,还有一个FTP文件夹中的文件将在16:55被选中。在05:55 UTC时有一个PastDueExecution为
,差距为45分钟。
6. Should run every five minutes, but as of 09:30UTC has not ran (Currently 18:55UTC). Looked in Application Insights for last run time, also there is a file in an FTP folder that would be picked up at 16:55. There was a PastDueExecution at 05:55 UTC as well, after a 45 minute gap.
7。样本调用ID: d38d9f16-ce17-481a-9dca-6569541f9539
7. Sample Invocation ID: d38d9f16-ce17-481a-9dca-6569541f9539
我运行了时间触发问题分析,它检测到它是过期,并声明我的RunOnStartup导致未安排的函数执行,但它根本没有运行。我尝试重新启动资源组,并刷新功能,但
它似乎没有运行。
I ran the Time Trigger Issue Analysis and it detected that it was past due, and stated that my RunOnStartup is causing unscheduled function executions, but it's not running at all. I tried restarting the resource group, and refreshing the function(s), but it does not appear to be running.
更新:
此计时器函数上传到blob存储,其中EventTriggered函数将运行并处理。当我尝试通过手动移动文件来触发此功能时,EventTrigger功能也没有运行。
$
EventTriggered功能的示例调用ID:
This timer function uploads to blob storage where an EventTriggered function will run and process. When I attempted to trigger this function by manually moving the file, the EventTrigger function also did not run.
Sample Invocation ID for EventTriggered Function:
ee0fbea4-b513-4bd4-ae92-464c9f72f34f
ee0fbea4-b513-4bd4-ae92-464c9f72f34f
请告知,  ;
Please advise,
Anthony
推荐答案
再次尝试重新启动后,功能再次运行。但是,我想知道是否有一些我可以做的事情来避免它进入的任何状态。
After another attempt at restarting, the functions are running again. However, I would like to know if there is something I could have done to avoid whatever state it got into.
这篇关于TimerTriggered函数和EventTriggered函数已停止运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!