Deleted a triggered webjob but function still running continuously

345 Views Asked by At

I've deleted triggered Webjob on Azure WebApp, but the Function is still running and sending Webhook data. I can't seem to delete it. Why is this function does not get deleted? How do I stop it?

enter image description here

1

There are 1 best solutions below

0
Harshitha On

Your Web Job might be running in the background.

Get the list of running Web Jobs using the Azure CLI command.

I have taken references from the MSDoc.

Use the below command to get the list of continuous Web Jobs.

az webapp webjob continuous list --name WebApplication17Apr --resource-group YourRGName

enter image description here

If you still feel you Web Job is not deleted and running, delete it by using the Azure CLI command.

az webapp webjob continuous remove --name WebApplication17Apr --resource-group YourRGName --webjob-name ContinuousJob
  • Initially I got 2 Web Jobs in the list.

Before deleting the Web Job:

enter image description here

  • After running the remove Web Job command, you can see only one web Job is available.

enter image description here

After deleting ContinuousJob: enter image description here

  • We can see the entry itself is deleted completely.

Even you can stop a WebJob by using az webapp webjob continuous stop command.