cron - Azure WebJob never ran. Why? -


navigating app services in azure, navigating webjobs, able add new webjob. name it, upload zip file necessary files, , under type, select triggered instead of continuous. triggers, scheduled selected.

for cron expression, put 0 */5 * * * *. sure enough, webjob runs every 5 minutes. can check webjob logs see status , they're returned "successful".

however, when attempting same process different cron expression, webjob never ran.

yesterday, uploaded same exact zip file above, 0 0 5 * * * cron expression (set run @ 5am every morning).

i checked morning in microsoft azure webjobs logs , under "last run time", webjob says never ran.

why this?

will webjob not run if i'm not logged azure make sure runs? how can guarantee webjob run?

anyone else having problem?

all times utc mentioned here else. if have against utc, can alter timezone setting website_time_zone application setting detailed here.

also make sure have always on enabled site hosts webjob, otherwise w3wp.exe process in charge of crontab won't around kick off job.

azure portal → web app → application settings → on

always on

for completness's sake, kudu uses 6-field cron expression. 1st field represents seconds rather minutes (which first field in classic crontab).

more here: https://github.com/projectkudu/kudu/wiki/web-jobs#scheduling-a-triggered-webjob


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -