I've seen some guidance around using settings.job
to set the WebJob as singleton but it's not working - in the console, I see:
WebJob singleton setting is False
How can I go about preventing scale-outs from running multiple instances of my WebJob?
As far as I know, to set a continuous job as singleton, we could create a file called settings.job
with the content: { "is_singleton": true }
and put it at the root of the WebJob directory.
And we could get continuous job settings to make sure whether it is singleton.
GET /api/continuouswebjobs/{job name}/settings
in the console I see: WebJob singleton setting is False
Please use Kudu tool to check whether the settings.job is existing at the root of the WebJob directory and the actual value of is_singleton
property.