I have an azure webjob that needs to be called every 5 mins with the argument "IsFullImport=false", and every Saturday at 12am with argument "IsFullImport=true". Currently I have 2 Logic Apps with reoccurrence set up that point to the same webjob, 1 runs every 5 mins and the other every Saturday at 12am.
The problem is if the every 5 min Logic App is running at the same time the Saturday at 12am one runs, I'll get a 409 error saying "conflict the WebJob is already running". Once the 12am one errors it won't try again until the next Saturday. I looked into retry policy and it doesn't apply to error 409. I also looked into concurrency policy and it seems that only applies to instances of the same Logic App, not 2 different Logic Apps. Is there a way I can get the Saturday 12am Logic App to retry if webjob is already running or maybe have one Logic App with 2 different schedules and api call?
Examples of Api calls:
Called Every 5 Mins:
https://mysite.scm.azurewebsites.net/api/triggeredwebjobs/MyJob/run?arguments="IsFullImport=false"
Called Every Saturday at 12am: https://mysite.scm.azurewebsites.net/api/triggeredwebjobs/MyJob/run?arguments="IsFullImport=true"