timer-trigger

Azure function is not triggering on scheduled time

假如想象 提交于 2019-12-12 13:55:17
问题 Note : Even though it may seem duplicate, My issue is different and I request you to read complete description before hastily marking the question down just by reading Question title. I opened "Azure function is not triggering on scheduled time " issue on official "azure-webjobs-sdk-script" git repository on May 24, 2017-but there is no reply yet. So I am re-asking this here. I am using azure function in consumption plan, and have scheduled it to execute at every 4.00 am utc by setting

Disable Property of Azure Functions not working in Visual Studio 2017

只愿长相守 提交于 2019-12-07 01:00:41
问题 I have Azure function with timer trigger. public static void Run([TimerTrigger("0 */15 * * * *"), Disable("True")]TimerInfo myTimer, TraceWriter log) Here the Disable("true") is not working. it generates the function.json as "disabled": "True", which is not correct. It should be "disabled": True, Disable only accepts string value. Is there any way to change this? or any other way to disable function? 回答1: Disable properties default values is true . Use Disable() instead of Disable("true") .

Disable Property of Azure Functions not working in Visual Studio 2017

随声附和 提交于 2019-12-05 05:02:23
I have Azure function with timer trigger. public static void Run([TimerTrigger("0 */15 * * * *"), Disable("True")]TimerInfo myTimer, TraceWriter log) Here the Disable("true") is not working. it generates the function.json as "disabled": "True", which is not correct. It should be "disabled": True, Disable only accepts string value. Is there any way to change this? or any other way to disable function? Disable properties default values is true . Use Disable() instead of Disable("true") . So the code will look like public static void Run([TimerTrigger("0 */15 * * * *"), Disable()]TimerInfo

How do I turn on “always-on” for an Azure Function?

萝らか妹 提交于 2019-11-27 03:11:12
问题 I have a Function App with 3 functions, one of them timer-triggered every 2 minutes. I observed that after a while, the function stops being triggered, but restarts when I go to the portal. As I understand it, the reason is that by default, "Always On" is turned off. However, when I go to Application Settings / General Settings, I cannot activate the "On" state, which is grayed out. I can un-check "Off", which doesn't seem to stick or activate "On". Am I missing something obvious? Is Always

Azure Webjob timer trigger does not fire

梦想与她 提交于 2019-11-26 22:02:18
问题 We have two deployments (Prod and Test) of Azure Webjob running with TimerTrigger. Both the web apps have single instance. According to this article, TimeTriggers use singleton locks to make sure no parallel invocation. These two instances use the same storage accounts. The issue we are facing is that only one of the deployments seem to acquire the lock while other is unable to acquire the lock. If we stop the first webjob the second acquires lock and starts processing and vice-versa. Does