Used in cloud hosting services like Microsoft Azure
Questions tagged [webjob]
164 questions
36
votes
6 answers
Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation
I am getting this error whenever I try and run a webjob project with application insight and entity framework.
System.IO.FileLoadException: 'Could not load file or assembly
'System.Runtime.InteropServices.RuntimeInformation, Version=0.0.0.0,
…

Andrew
- 2,571
- 2
- 31
- 56
11
votes
4 answers
How to deploy Azure WebJob as part of automatic VSTS deployment
Is there a way of having my Azure WebJob automatically deploy without needing to right click and select "Publish as Azure WebJob" every time? i.e. when I check-in my solution it is automatically deploy to the Azure Portal webjob section

Jaja1415
- 113
- 1
- 5
10
votes
1 answer
How to Scale Azure Webjobs
I know that webjob scales with webapp i.e. if my webapp is running on 5 instances then webjobs will run on 5 instances as well. I just want to know if there is a way of having multiple instances of the webjob within each instance of the…

Shahriar Hossain
- 935
- 9
- 20
9
votes
2 answers
azure webjob on containerized app service
Is it possible to create a webjob on a dockerized app service in Azure? Background:
I have an app service plan in Azure on East1, Linux OS, S1 Tier pricing. On that plan I have a dockerized app service running a super simple Node.js app. The Node…

Mike Baron
- 818
- 2
- 9
- 17
8
votes
4 answers
Configurable Timer Triggers - Azure Web Jobs
I'm building a job to trigger at some regular interval (say 1 minute). I've successfully used triggered web jobs with time-span hard coded in the functions.
public void foo([TimerTrigger("00:01:00")] TimerInfo timer)
Now if I ever want to change…

Manikanta Dornala
- 1,081
- 1
- 11
- 22
6
votes
3 answers
No route registered for '/api/continuouswebjobs/WebJobsName/run'
Main Issue:
"No route registered for
'/api/continuouswebjobs/WebJobName/run'" or /stop or
/start but that is what is offered on the Azure portal under the
webhook copy to clip board button if you are under a webjob menu under
your webjob…

Matt Vandergrift
- 73
- 1
- 8
6
votes
1 answer
.NET Core Azure WebJobs does not read from Azure Application Settings
I have an app service running with it's respective ConnectionString from Azure Portal. The ConnectionString is point to Azure SQL Server.
I have a WebJob with the following appsettings.json
{
"ConnectionStrings": {
"DefaultConnection": "Add…

Dawa Law
- 128
- 8
5
votes
1 answer
Wait time for queue-triggered Azure Functions is very high compared to equivalent Webjobs
I've migrated queue-triggered Azure Webjobs to Azure Functions. Based on my measurements the wait time to pluck messages off the queue is 5X to 60X+ (yes really) longer with the Functions.
In Webjob land, I observed that with BatchSize,…

Howiecamp
- 2,981
- 6
- 38
- 59
5
votes
2 answers
Cron expression which run on the last day of the every month
I need to create a cron expression that will run on the every last day of every month. I need this for scheduling the webjob.
I am using this expression but the webjob is not taking L for finding Last day of the every month.
"0 0 11 L * *"
Thanks.

Pari
- 51
- 1
- 1
- 3
5
votes
2 answers
Azure Scheduler fails to trigger OnDemand WebJob published with WebApp
Some time ago, I used Visual Studio (2015) to create a WebApp, a console app and link that console app as OnDemand WebJob to the WebApp. I published the whole to Azure and the website, the WebJob and the Scheduler Job worked perfectly.
Last week, I…

Erik123
- 201
- 1
- 2
- 8
4
votes
4 answers
How to programmatically mark an Azure WebJob as failed?
Is there a way to mark a WebJob (triggered, not continuous) as failed, without throwing an exception? I need to check that certain conditions are true to mark the job as successful.

Métoule
- 13,062
- 2
- 56
- 84
3
votes
1 answer
ILogger logs to app insights locally but not on azure
The following code work on my machine locally. That means all log statements are in app insights after some minutes...
When I deploy the application with Publish as Webjob all gets deployed BUT there are no log statement of the triggered webjob…

HelloWorld
- 4,671
- 12
- 46
- 78
3
votes
3 answers
Azure WebJob deployment keeps failing
Since yesterday I'm suddenly having consistent deployment failures for my existing WebJobs. The error I'm getting is
Start Web Deploy Publish the Application/package to…

Jarrich Van de Voorde
- 387
- 4
- 14
3
votes
2 answers
How does Azure WebJob's 'Run Command' gets set?
I am trying to deploy multiple WebJobs. The WebJobs are tied on a WebApp. Recently, I have noticed that the 'Run Command' on the WebJobs are different than the expected ones. So if the WebJob name is 'CopyFileWebJob', the Run Command for this WebJob…

Abhijit
- 141
- 1
- 9
3
votes
1 answer
Azure WebJob automatically gets aborted
I have a a WebJob project developed in .NET C#, which I deploy on Azure through Visual Studio 2015. The WebJob is scheduled with CRON "0 0 7 1 * *" (to run at 1st day of the every month at 7am) on the settings.job file. After it is deployed and…

dolcetheking
- 33
- 4