简体   繁体   中英

Azure Web Job schedule time being ignored after successful deployment

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM