I am new to Azure. I am trying to deploy a simple c#.Net console Application to Azure via VS2015. When, in Solution Explorer, I right click the solution name and select 'Publish as Azure Webjob', it gives me object reference error. I tried creating a new console app from scratch and publish it, but still same error. I also tried running VS in admin mode. But no success. It says:
Publish succeeded. Creating the scheduler job Error:An error occurred while creating the WebJob schedule: Object reference not set to an instance of an object.
Due to this none of my web jobs are running on a schedule. Please help! thank you
Can you tell me please your service plan? Is running in free tier? If yes, you can not set the recurrence in minutes. As MS describes here:
https://azure.microsoft.com/en-us/documentation/articles/websites-dotnet-deploy-webjobs/
one can deploy with all frequencies other than those defined in minutes.