Questions tagged [azure-webjobs]

Provides an easy way for you to run programs such as services or background tasks in an Azure Web App (previously known as Websites).

The WebJobs feature of Windows Azure Web Apps provides an easy way for you to run programs such as services or background tasks in a Web App. See the Azure WebJobs SDK Wiki page for how to get started, documentation, code samples, and useful links.

2237 questions
0
votes
1 answer

Importing python modules in azure webjob

I have been attempting to deploy a web scraper written in python for the past few weeks on azure. I initially tried to do this in an azure app service by building pushing a docker image to the service. I have had success previously with this method…
Jono
  • 1
0
votes
1 answer

Choosing an appropriate azure service to deploy repetitive python task

I have been attempting to deploy a web scraper written in python for the past few weeks on azure. I initially tried to do this in an azure app service by building pushing a docker image to the service. I have had success previously with this method…
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
1 answer

Can't execute .net 5 program as Azure WebJob

I have a .net 5 command line programm which I try to execute on a schedule as webjob on Azure. I can execute it without issues locally, but when execute on Azure I get: [12/14/2020 21:28:03 > 83e1e9: SYS INFO] Status changed to…
NPadrutt
  • 3,619
  • 5
  • 24
  • 60
0
votes
1 answer

asp.net framework 4.7 configure logging level, not working

My web job is not adhering to the logging level configuration in my host.json. It is written using .NET framework 4.7. The expected result with the below code is no logging, instead, I get logging a per the below screenshot. Can any provide guidance…
user3845056
  • 489
  • 7
  • 25
0
votes
1 answer

Give priority to one of multiple Azure WebJobs running in a single WebApp

I have 2 WebJobs in my WebApp. Let's call them WJ1 and WJ2, both WebJobs are triggered by queues (Q1 and Q2 respectively). Since Q2 gets a lot of messages and I would like to process them quickly, I scale out my WebApp to 10 instances (it only runs…
gris
  • 131
  • 1
  • 11
0
votes
1 answer

How to download a WebJob executable/script from AppService

We've taken over an Azure environment for a client from a previous vendor. The previous vendor has installed a few WebJobs on the AppService but hasnt committed the code to git. Since relations with previous vendor ended badly, there is no way to…
Madhav Shenoy
  • 798
  • 12
  • 32
0
votes
0 answers

"SqlConnection does not support parallel transactions" in Azure Webjob

I don't use transactions in my C# .NET Core v3.1 with EFCore v3 code explicitly and all works fine. Except for my Azure Webjob. It listens to a queue. When multiple messages are on the queue and thus the function gets called multiple times in…
Paul Meems
  • 3,002
  • 4
  • 35
  • 66
0
votes
1 answer

simple webjob - process the response from a web link and save it to blob on a regular time interval - imposible to find an example or solution

I am looking for an example for a simple webjob: the task would be to process the response from a web link and save it to blob on a regular time interval. first of all the ms documentation is confusing me as far as time triggers are…
0
votes
1 answer

Behavior of Azure Service Bus Queue ScheduledEnqueueTimeUtc when sender stops running

We have a usecase where we need to schedule jobs which will be sent as a message from Azure web api service to Azure Service Bus Queue. As we need to schedule it at later point in time one solution is to use Scheduled Delivery…
0
votes
1 answer

Using ServiceBusTrigger in the Webjobs SDK 3.x, can the Singleton attribute use a UserProperty as the scope?

I am using a ServiceBusTrigger to execute code when receiving a message. I would like to use the Singleton attribute to limit which messages can be executed in parallel. This attribute allows specifying a scope bound to properties on the incoming…
0
votes
1 answer

How to automatically deploy a web job to Azure portal using Power shell

I have been checking for ways to deploy a web job to azure automatically using PowerShell. I saw some blogs that depict the steps and the following summarizes what I have tried I build my application (ASP.NET Console Application) in release mode…
AnusreeS
  • 81
  • 8
0
votes
1 answer

I am not able to add existing project(.net core worker service app) as azure webjob in .net core 3.1 web application

I have created a worker service to consume my eventhub data and save that into cosmos db. But I want to deploy my worker service with my web app which is an .net core web application. Can anyone help me out here to get my job done ? What…
0
votes
2 answers

Webjobs Running Error (3587fd: ERR ) from zipfile

I have the following small script in a file named fgh.py which I have been attempting to schedule as a webjob import pandas as pd df=pd.DataFrame({'a':[1,2,2],'b':[5,6,9]}) df['x']=df.a.sub(df.b) print(df) Using @Peter Pan post. I have created…
0
votes
1 answer

Dependency injection in Azure web jobs - scoped dependencies are reused in subsequent calls

We are in the process of migrating a .net framework web jobs implementation to dotnet core. I'm using the documented extension method (IHostBuilder.ConfigureServices) on IHostBuilder to register dependencies with the scopes that seem fit, i.e.,…
sergevm
  • 171
  • 2
  • 12
1 2 3
99
100