title: Azure function is not triggering on scheduled time
body: <p><strong>Note</strong>: Even though it may seem <strong>duplicate,</strong> My issue is different and I request you to read complete description before hastily marking the question down just by reading Question title.</p>
  
  <p>I opened "<a href="https://github.com/Azure/azure-webjobs-sdk-script/issues/1534" rel="noreferrer">Azure function is not triggering on scheduled time</a> " issue on official "<a href="https://github.com/Azure/azure-webjobs-sdk-script" rel="noreferrer">azure-webjobs-sdk-script</a>" git repository on May 24, 2017-but there is no reply yet. So I am re-asking this here.</p>
  
  <p>I am using azure function in consumption plan, and have scheduled it to execute at every 4.00 am utc by setting following cron expression in function.json:</p>
  
  <pre><code>{  
  
  "bindings": [
      {
        "name": "myTimer",
        "type": "timerTrigger",
        "direction": "in",
        "schedule": "0 0 4 * * *"
      }
    ],
    "disabled": false
  }
  </code></pre>
  
  <p>Azure function does get execute on time <strong>only if I am logged into portal or clicks on function blade.</strong> It does not invoke when I am logged out from portal (suggesting either system listener or function go to sleep after some interval).</p>
  
  <p>Their <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#choose-a-service-plan" rel="noreferrer">official documentation</a> states that functions in consumption plan do not require any other settings (like Always on) to keep the function alive, <strong>instances of the Azure Functions host are dynamically added and removed based on the number of incoming events.</strong>. So as per documentation, no other settings I have to configure to execute function in consumption plan.</p>
  
  <p><strong>What I have tried?</strong></p>
  
  <ol>
  <li><p>From "<a href="https://stackoverflow.com/questions/39825554/timer-triggered-azure-function-not-getting-triggered">Timer triggered azure function not getting triggered</a>" question on SO, I re-checked and ensured my plan (consumption plan) and time zone. (I want it to run in utc, so no explicit setting is required)</p></li>
  <li><p>From "<a href="https://github.com/Azure/azure-webjobs-sdk-script/issues/1445" rel="noreferrer">#1445: Azure function timer trigger not firing</a>" git issue, I checked whether it was just logs that are not appearing. But I am certainly sure, that its not the logs but the actual function does not get triggered unless I am having my portal on or trigger it manually.</p></li>
  <li><p>I tried to check whether this behavior exists if I change the schedule to a more closer recursive invocations--I scheduled function to get executed at every 2 hours, and this schedule perfectly worked even when I logged out or did not awake function manually. This means, there is some issue when schedule is set to run on larger set of intervals (in my case each <strong>day</strong>)</p></li>
  </ol>