I have this Azure App where I am hosting a Webjob.
Whenever I start the app, it runs fine with just 1 Webjob and everything works fine. But as time goes by, out of nowhere, there appears another webjob which is the exact copy of the required webjob.
So the problem is that another webjob (unwanted) is spawned when this functionality is not coded in.
Please see Pic 1 (Required/ As is on Start):
Please see Pic 2 (Unwanted/ Happens After some time):
This is a triggered webjob with a cron schedule of * * * * * *
.
I assume that your situation is resulted from the period of execution time. Please check below statement in the doc:
Also, there is a similar case for your reference: Does Azure start up another instance of a scheduled web job if it is already running?