{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3076","repository_url":"https://api.github.com/repos/Azure/azure-functions-host","labels_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3076/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3076/comments","events_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3076/events","html_url":"https://github.com/Azure/azure-functions-host/issues/3076","id":336931408,"node_id":"MDU6SXNzdWUzMzY5MzE0MDg=","number":3076,"title":"Daily Time trigger functions (v2) not waking up","user":{"login":"cyky","id":2406748,"node_id":"MDQ6VXNlcjI0MDY3NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/2406748?v=4","gravatar_id":"","url":"https://api.github.com/users/cyky","html_url":"https://github.com/cyky","followers_url":"https://api.github.com/users/cyky/followers","following_url":"https://api.github.com/users/cyky/following{/other_user}","gists_url":"https://api.github.com/users/cyky/gists{/gist_id}","starred_url":"https://api.github.com/users/cyky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyky/subscriptions","organizations_url":"https://api.github.com/users/cyky/orgs","repos_url":"https://api.github.com/users/cyky/repos","events_url":"https://api.github.com/users/cyky/events{/privacy}","received_events_url":"https://api.github.com/users/cyky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T09:37:26Z","updated_at":"2018-07-05T19:03:44Z","closed_at":null,"author_association":"NONE","body":"## Daily Time Triggers sleeping ##\r\n\r\nWe are having problems with time trigger functions that should execute once a day. Scheduling works fine if the trigger is set to every 5 minutes or 30 minutes, but when the trigger is set to once a day (eg. \"0 0 0 * * *\") the functions never wake up and execute their tasks.\r\n\r\nOur functions project is using the class lib style project structure and is running on dotnet core 2.0.  Schedule has been defined in the function specific function.json file. Project is using Microsoft.NET.Sdk.Functions version 1.0.13 and the functions are running on the latest beta v2 version (West Europe).\r\n\r\nFunction app version: 2.0.11888.0 (beta)\r\nRegion: West Europe\r\nApp service plan: Consumption\r\nInvocation ID: d97e01ca-775a-453d-a388-d83beb553a07\r\nTimestamp: 2018-06-29T09:13:59.497 \r\n\r\n## Repro ##\r\n\r\n1. Create Dotnet Core 2.0 Class Lib Functions project\r\n2. Add Time trigger function with time trigger that triggers once a day:\r\n\r\n```json\r\n{\r\n  \"bindings\": [\r\n    {\r\n      \"authLevel\": \"function\",\r\n      \"schedule\": \"0 0 0 * * *\",\r\n      \"name\": \"updateTimer\",\r\n      \"type\": \"timerTrigger\",\r\n      \"direction\": \"inout\"\r\n    }\r\n  ],\r\n  \"disabled\": false,\r\n  \"scriptFile\": \"../bin/Example.Functions.dll\",\r\n  \"entryPoint\": \"Example.Functions.BuggyFunction.Run\"\r\n}\r\n```\r\n3. Wait for function to execute.\r\n\r\n### Expected results ###\r\n\r\nFunction should execute at midnight UTC time.\r\n\r\n### Actual behavior\r\n\r\nFunction never executes if the trigger is too far apart.\r\n\r\n#### Related issues\r\n\r\nSomewhat similar:\r\nhttps://github.com/Azure/azure-functions-host/issues/2825 "},"comment":{"url":"https://api.github.com/repos/Azure/azure-functions-host/issues/comments/402822140","html_url":"https://github.com/Azure/azure-functions-host/issues/3076#issuecomment-402822140","issue_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3076","id":402822140,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjgyMjE0MA==","user":{"login":"mhoeger","id":8888531,"node_id":"MDQ6VXNlcjg4ODg1MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/8888531?v=4","gravatar_id":"","url":"https://api.github.com/users/mhoeger","html_url":"https://github.com/mhoeger","followers_url":"https://api.github.com/users/mhoeger/followers","following_url":"https://api.github.com/users/mhoeger/following{/other_user}","gists_url":"https://api.github.com/users/mhoeger/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoeger/subscriptions","organizations_url":"https://api.github.com/users/mhoeger/orgs","repos_url":"https://api.github.com/users/mhoeger/repos","events_url":"https://api.github.com/users/mhoeger/events{/privacy}","received_events_url":"https://api.github.com/users/mhoeger/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T19:03:44Z","updated_at":"2018-07-05T19:03:44Z","author_association":"CONTRIBUTOR","body":"We have a troubleshooting guide for [investigating and reporting issues with timer triggered functions not firing](https://github.com/Azure/azure-functions-host/wiki/Investigating-and-reporting-issues-with-timer-triggered-functions-not-firing). Would you mind taking a look at it and sharing the details mentioned in \"Reporting your issue\" section?"}}
{"actor":{"display_login":"mhoeger"}}