Questions tagged [azure-webjobs-continuous]
69 questions
4
votes
3 answers
Start and Stop of continuous Azure webJob with Azure WebApp Rest API results in 404 Error
I deployed a continuous WebJobs to my existing Azure WebApp using DevOps. It is up and running.
When I tried to stop the webJob in the Azure web frontend it did not work.
So I used the stop Command of the Azure WebApp API.
POST…

Oliver Vogel
- 1,988
- 1
- 20
- 33
3
votes
1 answer
Deploying multiple Web job on same app service using pipeline , replacing all with last one
build artifacts contains separate folders for both the web jobs and included into the release pipelines.
When trying to deploy then on same app service using pipeline actually replacing all existing with the last web job deployed.
Tasks for both job…

user27178
- 81
- 4
3
votes
0 answers
WebJobs 3.0 Dependency Injection AddScoped per function call
With WebJobs 3.0, they propose to use the Dependency Injection via ConfigureServices()
However, the services added with AddScoped() are behaving the exact same way as AddSingleton(): they are configured for the lifetime of the WebJob. I would prefer…

jsgoupil
- 3,788
- 3
- 38
- 53
3
votes
1 answer
Azure Web Job Not Triggering When Messages are added to the queue
I am attempting to diagnose the root cause of unwanted behavior exhibited by an Azure Web Job I am running.
The Facts:
I have a an Azure Web Job that works most of the time, however every couple of days it just stops processing messages.
CPU and…

jth41
- 3,808
- 9
- 59
- 109
2
votes
1 answer
WebJob only has access to 2 GiB of memory when App Service Plan has 7 GiB
I have an Azure App Service Plan as the following, which is supposed to have 7 GB of memory.
P2V2
420 total ACU
7 GB memory
Dv2-Series compute equivalent
83.22 USD/Month (Estimated)
I am using this to host a single App that with a single Continuous…

Jackson
- 1,675
- 1
- 13
- 15
2
votes
0 answers
Azure WebJob: I am calling a SQL Server stored procedure from web job
I have to run a stored procedure from Azure Webjob in continuous mode.
I have written the code in c# and deployed the same in my development environment.
After monitoring for 3 or 4 days i found, the webjobs aborts if stored procedure runs for long…

Abhijeet Sinha
- 161
- 2
- 13
2
votes
0 answers
Instantiate IAsyncCollectors to manually invoke webjob function
Is it possible to invoke a webjobs function, whose arguments consist of IAsyncCollectors decorated by e.g. [Queue] or [EventHub] attributes, passing in the same type of collectors to the function as the webjobs SDK would?
For example, we want to…

Trey
- 348
- 5
- 16
2
votes
1 answer
Is it possible to publish a Webjob as "Triggered" type as well as "Continuous" type
I have a console application that has been converted to a Webjob.
There are a lot of functionalities in the webjob that is required to be run once a every night(midnight).
However, there is also a specific need that the same Webjob should be…

akd
- 6,538
- 16
- 70
- 112
1
vote
1 answer
How to update AzureWebJob after it is created
I created AzureWebJob manually via Azure portal, but now I need to update the source code. I did not found a way to re-upload the source code content (python script). Is there any CLI I can use to update the job or I have to delete the job and…

Muflix
- 6,192
- 17
- 77
- 153
1
vote
1 answer
Azure Webjob stops for no reason
I have an continuous webjob that is supposed to run until I stop it. I rely on this condition, but for some reason this phenomena happens to me:
[01/19/2021 09:57:51 > 44ab83: SYS INFO] Detected WebJob file/s were updated, refreshing…

Garbem
- 149
- 1
- 13
1
vote
1 answer
Azure WebJob code not updated via deployment slot swap
I have an Azure website with several deployment slots. I use Visual Studio to deploy to a Staging slot and then swap this into Production.
My Visual Studio solution contains one project for my web application and another for a continuous WebJob. I…

Brian Rak
- 4,912
- 6
- 34
- 44
1
vote
1 answer
Azure WebJobs access configuration from within a static function
I'm creating a webjob in .net core 3.1. In this project I have a function that is timer activated which should read the number of messages in a queue Q1 and if empty, put a message in Q2 as well as trigger a rest call to an API.
In order to check…

gris
- 131
- 1
- 11
1
vote
1 answer
In an Azure WebJob using the message bus extension can we tell it to stop picking up messages
Is there a way to tell the host to stop picking up messages from the queue? Or is there a hook in the service bus extension we can use to stop messages from being picked up?
There are two use cases I can think of. Graceful shutdown and also if we…

wallismark
- 1,766
- 2
- 21
- 35
1
vote
1 answer
Azure creates duplicate webjobs for Scheduled and Continuous
I have a scheduled web job created in Azure app service developed using C#. I want to change my web job from scheduled to continuous, but upon deploying the web job from visual studio it created a new instance of the web job in the Azure…

Zodiac Pisces
- 11
- 2
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…

Praveen M
- 13
- 4