I have a handful of triggered Web Jobs I need to deploy, I've deployed one and everything looks good.
The next one I've deployed it seems to ignore the schedule time within the Settings.Job
file for some strange reason, instead after the deployment has been successful it shows n/a within the Schedule column of the Web Job
My Settings.Hob file is:
{
"schedule": "0 */15 * * * *"
}
Again nothing to out of the ordinary.
I've deleted the Web Job completely of Azure, done a fresh deployment and the issue still persists.
I've then decided to use Kudu and navigate to the Web Job directly and check the Settings.job
, however when navigating to:
D:\home\data\jobs\triggered>
My recently deployed Web Job doesn't exists, yet it appears within the Web Job UI, I've also checked Continuous just to be on the safe side and again no reference there of it.
I can't seem to find any solutions on the web for this issue, has anyone experienced this?
The solution is that right click Settings.job file -> properties -> then for Build, select "content".
I just had this issue for one time(.net framework and .net core), next time, I don't need to set it to content.
It seems weird, if someone else knows the reason, please feel free to explain this behavior.