{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/1397","labels_url":"https://api.github.com/repos/facebook/osquery/issues/1397/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/1397/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/1397/events","html_url":"https://github.com/facebook/osquery/pull/1397","id":97362839,"number":1397,"title":"initialize schedule to a consistent time","user":{"login":"marpaia","id":927168,"avatar_url":"https://avatars.githubusercontent.com/u/927168?v=3","gravatar_id":"","url":"https://api.github.com/users/marpaia","html_url":"https://github.com/marpaia","followers_url":"https://api.github.com/users/marpaia/followers","following_url":"https://api.github.com/users/marpaia/following{/other_user}","gists_url":"https://api.github.com/users/marpaia/gists{/gist_id}","starred_url":"https://api.github.com/users/marpaia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpaia/subscriptions","organizations_url":"https://api.github.com/users/marpaia/orgs","repos_url":"https://api.github.com/users/marpaia/repos","events_url":"https://api.github.com/users/marpaia/events{/privacy}","received_events_url":"https://api.github.com/users/marpaia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/osquery/labels/CLA%20Signed","name":"CLA Signed","color":"009900"},{"url":"https://api.github.com/repos/facebook/osquery/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/facebook/osquery/labels/RFC","name":"RFC","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-27T00:45:18Z","updated_at":"2015-07-27T00:58:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/osquery/pulls/1397","html_url":"https://github.com/facebook/osquery/pull/1397","diff_url":"https://github.com/facebook/osquery/pull/1397.diff","patch_url":"https://github.com/facebook/osquery/pull/1397.patch"},"body":"With this change, queries that are scheduled to run with a certain\r\ninterval will be consistently ran at a consistent time of the day,\r\nmodified only by their splay, regardless of when you started / reloaded\r\nthe osqueryd process.\r\n\r\nExplicitly, queries that are to be ran once a day will run, splayed, at\r\nmidnight. Queries set to run every four hours will run at 0:00, 4:00,\r\n8:00, etc.\r\n\r\nDo we think that the schedule should offer this level of consistency, or\r\nis the natural global splay that leaving the value without significant\r\ninitialization desired?"},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/125053913","html_url":"https://github.com/facebook/osquery/pull/1397#issuecomment-125053913","issue_url":"https://api.github.com/repos/facebook/osquery/issues/1397","id":125053913,"user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T00:58:41Z","updated_at":"2015-07-27T00:58:41Z","body":"Wait, so previously, the schedule start was only 0-60 seconds?"}}