Questions tagged [timer-trigger]

84 questions
0
votes
1 answer

azure Webjob TimerTrigger, force scheduling

I have an azure webjob TimerTrigger. We may be led to stop the webjob, in a way or another (for instance changing an appSetting, aborts the webjob). The webjob is defined as TimerTrigger in Azure. There are storage accounts for AzureWebJobsDashboard…
fguigui
  • 294
  • 1
  • 4
  • 11
0
votes
1 answer

azure service bus client in timer triggered azure function unit test

I am trying to create Xunit test for azure timer triggered functions and I have to pass the service bus client queue in Run method and I cannot mock a service bus queue and not sure how to pass as a parameter Below is my azure function …
sreddy
  • 15
  • 7
0
votes
0 answers

Azure webjob, long duration

I have a long duration webjob (TimerTrigger) runing. It happens to fail from time to time. It lasts 4 to 5 hours. When it fails no exceptions are raised. It may be a matter of plan wrongly dimensionned. Is there a way to define the right plan ? Also…
fguigui
  • 294
  • 1
  • 4
  • 11
0
votes
1 answer

Proper way to set up python TimerTrigger in Azure Functions?

I have a TimerTrigger Azure Function (running in a Docker container) that I can't get to work. The __init__.py executes, pulls in some custom modules, scrapes the interwebs (with selenium), and outputs to Twitter. Locally all the code works. When…
papelr
  • 468
  • 1
  • 11
  • 42
0
votes
1 answer

TimerTrigger is not firing the function

I have an Azure Durable Function (v3) that I scheduled to run on Saturdays at 20:30 (8:30PM). On Sunday Morning I saw that it did not run so I scheduled it to run on Mondays at 20:30. I do that by deploying new zip package with the new TimerTrigger…
Michal B.
  • 5,676
  • 6
  • 42
  • 70
0
votes
0 answers

Can Timer Trigger Azure function be stopped after specific operation?

I have a Timer Trigger Azure function that has process to check a status from DB. Every 10 seconds, function executes and goes to check the status in DB and returns. This function should run until status is 1 or 45 seconds elapsed. Can I stop…
Rahul
  • 1,063
  • 2
  • 11
  • 22
0
votes
1 answer

Azure Function App TimmerTrigger Timeout error on execution

I have deployed a TimerTrigger type Azure Function App with platform set to Windows, App Service Plan to Consumption plan and Runtime as Node.JS. It was working fine when I used VS Code to deploy. But when I setup a Azure Pipeline for CI/CD on Azure…
0
votes
1 answer

Should a triggered Webjob complete?

I have created a very simple WebJob with a TimerTrigger, for example; static async Task Main() { var builder = new HostBuilder(); builder.ConfigureWebJobs(b => { …
Mark Cooper
  • 6,738
  • 5
  • 54
  • 92
0
votes
1 answer

Azure Function and WebJob - strange behavior when timer-triggered

I am experimenting with two .NET Framework-based mechanisms on Azure that can be timer-triggered: Azure Function v1 and WebJob. AF is deployed on Function App and WebJob is deployed on Api App. Both have Free plan set. I was hoping that running some…
0
votes
2 answers

TimerTrigger does not inject EF Database Context

I have an Azure Function (v3) using Entity Framework (3.0.11). I am attempting to run the code on a TimerTrigger however injecting the database within a timer trigger does not seem to work. Here are some (rapidly anonymized) code samples. the…
0
votes
0 answers

Unable to execute timer trigger function via python in Azure portal

I am a beginner in azure functions and azure as whole. I want my piece of code to run as per my schedule for hourly or a daily once basis, so chose to go ahead with azure functions. My objective is to take the data from an API and then save it to…
0
votes
1 answer

Timer Trigger in Azure function is not working when i do Code+test

I created a timer trigger in Azure function in my Visual Studio as below and deployed it in the Azure Portal. Once i try to do a Code+Test it is giving me Output as HTTP response code : 202 Accepted HTTP response content(It is displayed…
umad44
  • 1
  • 2
0
votes
1 answer

How do I configure a TimerTrigger in Azure Webjob V3?

I've just updated a webjob to version 3 of the azure-sdk. The job has a TimerTrigger and as an alternative to create an appsettings.json file with the connectionstring I was hoping to use the TimerOptions class to set the ConnectionString but to my…
Robert
  • 383
  • 1
  • 5
  • 20
0
votes
1 answer

How to run an app that running more than 10 minutes using azure function?

I run an app that ran for about an hour each day in a specific time, at first I thought about using a regular app service (WebJobs) that works regularly but after checking the costs I decided it was a lot and maybe there is another way to run the…
ISTech
  • 51
  • 4
0
votes
1 answer

Azure function not triggering on specified time

I've been looking around for a solution to an issue I am having. I looked at various posts on the same topic but none of them solved my issue, hence creating a new thread for this, so kindly read it once before marking it as duplicate. I've created…
Sohail
  • 43
  • 1
  • 12