Azure函数未通过crontab触发 [英] Azure function not triggering through crontab

查看:80
本文介绍了Azure函数未通过crontab触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想根据以下文章实现基于计时器的触发器.

I want to implement timer based trigger based on the below article.

https://docs.microsoft.com/zh-cn/azure/sql-data-warehouse/manage-compute-with-azure-functions

我遵循并完成了每个步骤.当我选择印度标准时间"时,在模板部署中,我按照印度时间给出了cron时间表.但是,按比例放大功能未按计划时间触发.

I followed and completed each and every step. As i selected "India standard time" in template deployment, i gave the cron schedule as per Indian time. However, the scale up function did not trigger as per the scheduled time.

我们可以看看是否发生任何错误.可能是什么原因.请回复.让我知道是否需要任何输入

Can we see if any error has occurred. What could be the reason..Please reply..Let me know if any inputs are required

预先感谢

当我检查日志...时,我发现错误   

When i checked in the log... i find the error  " 

请提出前进的方向

我已将Active Directory应用程序的权限授予资源组并尝试了..以上错误现在消失了.但是,我得到另一个错误,它说 资源<< DWH名称>>在资源组<< RG名称>>下找不到". DWH非常属于同一资源组..我有点卡在这里...请提出

I have given the permission to the active directory app on to the resource group and tried.. The above error is now gone. However, i am getting another error which says "The resource<< DWH Name >> under the resource group <<RG Name>> is not found ". The DWH is very much under the same resource group.. I am kind of stuck here...please suggest

-

苏里亚

推荐答案

你好 Surya Seshagiri

Hello Surya Seshagiri

我还遵循了相同的文档并确实在预定的时间触发了我.可能您缺少任何特定的配置.

I also followed the same documentation and it did trigger for me on scheduled time. Probably you are missing any specific configuration.

您可以在功能应用程序应用程序设置"中验证设置,如以下屏幕截图所示:

You can verify the settings in Function App Application Settings as shown in below screenshot:

要检查功能错误,可以从监视器"选项卡为功能配置Application Insights.请参阅下面的屏幕快照以供参考:

To check the function errors you can configure Application Insights for your function from Monitor Tab. See the below screenshot for reference:

谢谢

Ketan


这篇关于Azure函数未通过crontab触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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