{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/19978","labels_url":"https://api.github.com/repos/saltstack/salt/issues/19978/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/19978/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/19978/events","html_url":"https://github.com/saltstack/salt/issues/19978","id":55221739,"number":19978,"title":"Scheduler config via Pillar is iffy at best","user":{"login":"whiteinge","id":91293,"avatar_url":"https://avatars.githubusercontent.com/u/91293?v=3","gravatar_id":"","url":"https://api.github.com/users/whiteinge","html_url":"https://github.com/whiteinge","followers_url":"https://api.github.com/users/whiteinge/followers","following_url":"https://api.github.com/users/whiteinge/following{/other_user}","gists_url":"https://api.github.com/users/whiteinge/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteinge/subscriptions","organizations_url":"https://api.github.com/users/whiteinge/orgs","repos_url":"https://api.github.com/users/whiteinge/repos","events_url":"https://api.github.com/users/whiteinge/events{/privacy}","received_events_url":"https://api.github.com/users/whiteinge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T23:00:21Z","updated_at":"2015-01-23T00:58:15Z","closed_at":"2015-01-23T00:58:15Z","body":"The following works when placed in the minion config. The tell tale `[salt.utils.schedule][INFO    ] Running scheduled job: test_scheduler` shows up in the minion log every minute. When moved into Pillar, however, it only _sometimes_ works. I'm not sure what actions ultimatly kick it into gear. Running `saltutil.refresh_pillar` and `saltutil.sync_all` (as suggested in related issue #11501) are not those steps.\r\n\r\nDebugging the scheduler is not fun. A log entry whenever the configured schedule changes would work wonders for visibility. After running `saltutil.refresh_pillar` something like \"Updated scheduler configuration. Adding function X to the scheduler.\"\r\n\r\nTested on 2014.7 with the following config:\r\n\r\n```yaml\r\nschedule:\r\n  test_scheduler:\r\n    function: test.ping\r\n    minutes: 1\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/71130219","html_url":"https://github.com/saltstack/salt/issues/19978#issuecomment-71130219","issue_url":"https://api.github.com/repos/saltstack/salt/issues/19978","id":71130219,"user":{"login":"whiteinge","id":91293,"avatar_url":"https://avatars.githubusercontent.com/u/91293?v=3","gravatar_id":"","url":"https://api.github.com/users/whiteinge","html_url":"https://github.com/whiteinge","followers_url":"https://api.github.com/users/whiteinge/followers","following_url":"https://api.github.com/users/whiteinge/following{/other_user}","gists_url":"https://api.github.com/users/whiteinge/gists{/gist_id}","starred_url":"https://api.github.com/users/whiteinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiteinge/subscriptions","organizations_url":"https://api.github.com/users/whiteinge/orgs","repos_url":"https://api.github.com/users/whiteinge/repos","events_url":"https://api.github.com/users/whiteinge/events{/privacy}","received_events_url":"https://api.github.com/users/whiteinge/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T00:58:15Z","updated_at":"2015-01-23T00:58:15Z","body":"Ok. this may be working fine after all. I just realized nothing is logged at the default logging level. With the default settings there is no way to know if the scheduler is running or not. That is a separate topic. Closing this."}}