Questions tagged [webjob]

Used in cloud hosting services like Microsoft Azure

150 questions
1
vote
0 answers

Trying to create resource group using New-AzureRmResourceGroup cmdlet in azure webjob

I have a working azure arm powershell scripts to create a new virtual machine and it's working fine in cloud service but when I am trying to execute in azure webjob, I am getting following Error : New-AzureRmResourceGroup -Name $resourceGroup…
1
vote
1 answer

Azure web job graceful shutdown

I am trying to implement graceful shutdown for a continuous Azure web job, provided the required job settings: { "stopping_wait_time": 3600, "is_singleton": true } I have registered the callback: static void Main(string[] args) { …
Purbasha
  • 165
  • 1
  • 7
1
vote
1 answer

Data Importing using Azure Web Jobs to Azure SQL

Just looking for some advice on best way to handle data importing via scheduled Web Jobs. I have 8 json files that are imported every 5 hours via an FTP client using JSON serializer into memory and then these JSON objects are processed and inserted…
Mark West
  • 117
  • 1
  • 13
1
vote
1 answer

How to run a C# Winform in Azure on a Schedule?

I wrote a C# Winform application that performs a task without user input and I want to run this program on a schedule (every day at 1 AM, for example). I want to set the program up on Azure so it runs on the cloud. So far, I've successfully run C#…
Kubera
  • 13
  • 2
1
vote
3 answers

Python: How to import zip from a different directory

I am deploying some python scripts as Azure Web Jobs and ran into an issue with importing some shared modules (in the form of zip files). Everything works fine if I copy the zip files to the same directory as the script file. But if I move the zip…
1
vote
3 answers

MS Azure - C# WebJob Project Dependency

I am new to Azure WJs. I have 2 projects in one solution: the actual website - Project 2 and the WebJob - Project 1. The only task the WJ has is to call an exposed method from the public class of project 2 during the scheduled time. When the WJ was…
Milan
  • 2,893
  • 1
  • 29
  • 43
1
vote
1 answer

How to run Azure WebJob from vNext Build?

Is there any way to run an Azure WebJob from a vNext Build and deployment? I have created a WebJob for my Azure Web App that gets triggered manually. It's currently working, and when it runs, it reads a dbscript.sql file and executes it against the…
1
vote
2 answers

Azure Webjobs publish error (active directory)

When I try to publish an azure webjob, I get the following error: An error occurred while creating the WebJob schedule: Could not load type 'Microsoft.IdentityModel.Clients.ActiveDirectory.ActiveDirectoryAuthenticationException' from assembly…
Noppey
  • 1,224
  • 9
  • 17
0
votes
1 answer

Using ARM template to deploy WebJob

I am currently attempting to deploy a webjob as part of my app service through an ARM template. Does anyone have a sample of doing this through a zip deploy? I have seen here and the linked question there about creating an arm template for a…
0
votes
0 answers

How to make HttpTrigger and TimerTrigger in Functions work

Trying to add HttpTrigger for Hearbeat. However not able to hit Heartbeat HttpTrigger. Only TimerTrigger works. What do I need to do to hit HttpTrigger? I don't even see what URL i'm supposed to use in logs. info:…
ShaneKm
  • 18,605
  • 41
  • 141
  • 250
0
votes
0 answers

Will two back-to-back posts from a Webjob to a ASP.NET MCV Azure AppService controller conflict or initiate separate threads?

I'm in an ASP.NET MCV Azure AppService environment. I have a Webjob that runs daily to send a post to a function in the main AppService application. That function scans a table and takes some actions on what it finds. I would like to add a second…
wayfarer
  • 698
  • 2
  • 13
  • 29
0
votes
0 answers

Store Azure WebJobs connection string on to Azure Portal App Settings

I'm trying to store the Web Job connection strings on to Azure Portal. I've moved the connection strings there but Web Job keeps failing with error below: [03/05/2021 01:59:23 > 2aff49: INFO] stem.ArgumentException: ConnectionString should not be…
Nil Pun
  • 16,019
  • 34
  • 150
  • 277
0
votes
1 answer

Can I trigger or call a azure webjobs using java application or spring rest api

I want to trigger or call a azure webjob using my java application which is simple a spring boot application. I have some questions like can we invoke or trigger the azure webjob using Spring Rest API call? And if yes then how. webjob also require…
Er.Garvesh
  • 71
  • 11
0
votes
2 answers

Azure Webjob Unable Start Due to Binding Error

I have a webjob that is supposed to read from an Azure queue and do something with the payload found. The issue I'm having is the webjob won't start and here is the error [02/17/2021 15:40:11 > e80592: INFO] [15:40:10 ERR] Error indexing method…
realsum137
  • 23
  • 2
  • 4
0
votes
1 answer

How do I fix the "Error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found."?

We have searched for a solution to this problem and have had no success...there are plenty of similar errors reported here on around the web and none of the suggestions have worked. We have a web job project in tfs that compiles fine locally but…
DevilDog
  • 313
  • 1
  • 2
  • 10