Questions tagged [timer-trigger]
84 questions
1
vote
1 answer
azure webjob- timerTrigger: Get current execution context?
I have written a azure webjob which has timerTrigger. The static method gets called every minute and it has to make http POST request. I want to access the appSettings.json file within the timerTrigger static method. How can I access it?
I see…

user2439903
- 1,277
- 2
- 34
- 68
1
vote
0 answers
MassTransit with TimerTrigger in Azure Function
I want to use MassTransit in an Azure Function triggered by a TimerTrigger. I've tried using the ServiceBusTrigger as the docs suggest http://masstransit-project.com/MassTransit/usage/azure-functions.html but my downstream services need to be…

Simon Trewhella
- 2,124
- 3
- 23
- 23
1
vote
0 answers
TimerTrigger not triggering after start of function app
I am trying to create a very simple TimerTriggered function to prevent my app from getting cold.
The issue is that after deploying the app or after restarting it the TimerTriggered function is never executed. After invoking the function manually the…

Casper
- 179
- 1
- 1
- 11
1
vote
1 answer
Can 2 functions be defined in one WebJob?
In one WebJob I launched 2 functions:one is a ServiceBusTrigger one and the other is a TimerTrigger one.
Can the 2 function both work? Seems the ServiceBusTrigger works and TimerTrigger one does not.
The TimerTrigger one is defined as
public void…

xiaodong
- 35
- 6
1
vote
1 answer
Single Azure Job for multiple timer triggers
We have hosted an azure application and enabled for multiple organizations by creating a separate DB per Org. Now, we need to run a background service that needs to generate:
Configure Azure function with TimerTrigger Enabled (Time of Run will be…

user3527063
- 479
- 1
- 5
- 17
1
vote
1 answer
Azure Timer Trigger webjob: Function is being recognised but not being triggered
I have an Azure timer trigger webjob, deployed in two different environments with two different storage accounts. The webjobs have been deployed for about two months now, and were running as expected for quite some time. However, for about a week…

M_coder
- 121
- 3
- 17
1
vote
2 answers
Is it possible to execute Azure function Timer trigger with Sequential Execution?
I want to execute Azure timer trigger with the sequential execution.
Suppose i have C# Timer trigger with 5min interval. But function takes time to execute is 8min. that means before completion of first call second trigger starts another thread.…

Avinash patil
- 1,689
- 4
- 17
- 39
1
vote
0 answers
azure webjob does not stop (keeps working after stopping has been requested)
We have the following situation.
We decided to use webjob in one of our Web App to perform some work every 30 seconds.
For this purpose we use the following code that is called from Main function:
static void Run(bool locally)
{
…

Eugene Kanev
- 11
- 2
0
votes
0 answers
How to create email alerts based on inside code functionality of Azure Function App - Timer Trigger?
Scenario: Enabling Health Check Monitoring of APIM APIs and Email Alerts if the API is not healthy.
Using: Azure Functions - C# - Consumption Based Model
using (var httpClient = new HttpClient())
{
…
anon
0
votes
1 answer
Restrict azure timer trigger running from multiple instances
I have an azure timer trigger function hosted in an app service plan (I3 : 5)
By default app service plan instance count has been set to 5
So whenever timer trigger starts, it is starting from all the five instances parallelly.
I want to restrict…

thevan
- 10,052
- 53
- 137
- 202
0
votes
2 answers
How to read Timer Trigger Schedule parameter from Azure App Configuration in Azure Functions?
I am currently reading the Schedule parameter for my Azure Function Timer Trigger from local.settings.json. However, I would like to read it from Azure App Configuration instead. The problem is that since the configuration is connected after the…

emrekara
- 85
- 1
- 9
0
votes
1 answer
In C#, Can I make my Azure Function App more DRY?
I have a Function App composed in C#.
It has a bunch of classes like:
public class InitialUploadNewOrModifiedFileTaskEventGenerator
{
private readonly TaskEventGeneratorConfig _taskEventGeneratorConfig;
private readonly…

Brian Kessler
- 2,187
- 6
- 28
- 58
0
votes
2 answers
Azure TimerTrigger is not working in .NET 7 Isolated Worker Process
I'm trying to trigger an orchestrated function TimerTrigger in .NET 7. Below is the function I created
[Function(nameof(FunctionSampleTimer))]
public async Task Run([TimerTrigger("*/5 * * * * *", RunOnStartup = false)] MyInfo myTimer,…

Srujan Simha
- 3,637
- 8
- 42
- 59
0
votes
0 answers
Azure Timertrigger function deployed using pulumi is never triggered set runOnStartUp to true
I'm using pulumi to create and deploy an azure function app that contains two functions to scale up and scale down an azure sql database automatically. All the resources are successfully created and deploy in the following structure.
But that two…

Neville Lam
- 11
- 1
0
votes
2 answers
How to call http triggered azure function from timer triggered azure function
There is a timer function, which in the middle of its work should call the http triggered (post request) function. How to do it? Will Durable function - chaining pattern help? How to pass parameters (in requestBody) to the called function?
p.s. I…