Error trying to publish webjob on Azure

0

I'm trying to post a webjob on Azure and even the publishing part is all right. It can publish and I can run Webjob normally, but when it tries to schedule Webjob in the "Scheduled" model it throws the error below and can not leave in Scheduled mode returning to On Demand mode.

Error thrown while trying to publish webjob

  

Error: An error occurred while creating the WebJob schedule: Response   status code does not indicate success: 409 (Conflict).

Does anyone know what might be happening?

My webjob-publish-settings.json

{
  "$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
  "webJobName": "assinatura",
  "startTime": "2016-03-14T00:00:00-03:00",
  "endTime": null,
  "jobRecurrenceFrequency": "Hour",
  "interval": 1,
  "runMode": "Scheduled"
}
    
asked by anonymous 14.03.2016 / 14:09

1 answer

0

Diego,

You need to add a property called schedule in the settings.job file, take a look at this guide here for more details link

    
14.03.2016 / 14:36