Questions tagged [azure-webjobs-triggered]

81 questions
1
vote
1 answer

How to read Cron Expression from appsettings.json in .Net core Web Jobs

I have developed .Net Core 2.2 Azure Web Job project which is having multiple timer trigger functions. One function is run on every 15 minutes and other one is run on every 10 minutes. public async Task…
Pradeep
  • 5,101
  • 14
  • 68
  • 140
1
vote
1 answer

Coninuous webjob vs triggered for a scheduled run

I am having a webjob which needs to run at regular intervals but having it as continuous with cron expression rather than triggered type. Will it make any difference especially in terms of any performance? Any help in understanding this very much…
1
vote
2 answers

Azure triggered webjob aborted some times

I had developed a time triggered Azure Web Job and published into Azure with Triggered type. Everything working fine but sometimes the web job goes into shutdown state without logging any exception information in web job dashboard logs and kudu…
Pradeep
  • 5,101
  • 14
  • 68
  • 140
1
vote
1 answer

QueueTrigger is not picking messages- Azure WebJobs SDK 3.0

I'm trying to develop WebJob using SDK 3.0.x, and testing it locally. I've followed the sample in github without any success. When running it locally everything is going ok, it also see the ProcessQueueMessage function but it doesn't pick the…
1
vote
2 answers

Get Singleton behavior on WebJobs with custom queue processors

My team has been trying to get some of our WebJobs custom queue processors to have Singleton behavior, but we haven't really gotten that behavior with the [Singleton(Mode = SingletonMode.Listener)] attribute, nor with setting…
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…
1
vote
1 answer

.net core azure WebJob 3.0.3 UseTimers missing

I'm attempting to setup a new webjob using .net core 2.1 and I'm running into an issue where UseTimers() appears to be missing when I try to configure the job. For the life of me I can't seem to find anything that will point me in the right…
Marqueone
  • 1,165
  • 2
  • 14
  • 33
1
vote
1 answer

Can I query the Azure web job queue?

I have two Azure Web Jobs running within my Azure web app: Job A - running continuously Job B - triggered Job A's purpose is to trigger Job B based on two things: Job B has not been run in the past hour for a specified account number (passed…
1
vote
1 answer

What is the AddService of JobHostingConfiguration with Azure WebJobs used for

I have the following WebJob Function... public class Functions { [NoAutomaticTrigger] public static void Emailer(IAppSettings appSettings, TextWriter log, CancellationToken cancellationToken) { // Start the emailer, it will stop…
1
vote
1 answer

Manually Triggered Azure Webjob is getting triggered more than once. Returning 409 (conflict) error

There is no Azure Scheduler set up for this. This webjob is a jar file which I uploaded from the Azure Portal. Tell me how to add a settings.job file along with the .jar and .bat zipped pack. I'm hoping this would override whatever is making my job…
1
vote
0 answers

Azure WebJobs Madness - ServiceBusTrigger not firing

A strange this is happening in one of my WebJobs and I cannot find what's wrong. This WebJob is configured to use ServiceBusTrigger as soon as a message is received on a particular Service Bus Queue. This function has an execution time of minutes /…
0
votes
1 answer

Conflict 409 Error Triggering webjob running on multiple webapp instances

I've hosted a NodeJS webjob on a webapp that has 5 running instances. I'm triggering the webjob using the Kudu API https://xyz.scm.azurewebsites.net/api/triggeredwebjobs/webjobname/run The first request is accepted and webjob starts running but any…
0
votes
0 answers

Web Job - I can´t create and delete, changed the appearance of the web job screen

I can´t delete a web job. I can´t create a new web job too. When I try to delete a web job it fails. When I create a web job it says it will be updates soon but it doesn't update and it doesn't create. Changed the appearance of the web job screen as…
0
votes
1 answer

How does Azure WebJob QueueTrigger message processing works in case of distributed instances

Azure WebJob (created using Azure WebJob SDK) with QueueTrigger is configured to process messages added to 'queue1'. https://learn.microsoft.com/en-us/azure/app-service/webjobs-sdk-get-started This webjob will have multiple instances (e.g. 3…
0
votes
1 answer

Azure WebJob fails to run on its schedule but it ran when I uploaded the bat file and never ran again

I created a WebJob as a Triggered job to run on a Schedule. When I uploaded the file it was accepted by the form and I went ahead and clicked RUN because I figured you have to click RUN right after uploading it so that it knows it can go ahead and…
CodeQuest
  • 121
  • 1
  • 14