{"action":"created","issue":{"url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/323","labels_url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/323/comments","events_url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/323/events","html_url":"https://github.com/codeforamerica/pittsburgh-purchasing-suite/pull/323","id":104379262,"number":323,"title":"[WIP] Nightly jobs","user":{"login":"bsmithgall","id":1957344,"avatar_url":"https://avatars.githubusercontent.com/u/1957344?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmithgall","html_url":"https://github.com/bsmithgall","followers_url":"https://api.github.com/users/bsmithgall/followers","following_url":"https://api.github.com/users/bsmithgall/following{/other_user}","gists_url":"https://api.github.com/users/bsmithgall/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmithgall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmithgall/subscriptions","organizations_url":"https://api.github.com/users/bsmithgall/orgs","repos_url":"https://api.github.com/users/bsmithgall/repos","events_url":"https://api.github.com/users/bsmithgall/events{/privacy}","received_events_url":"https://api.github.com/users/bsmithgall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T00:16:00Z","updated_at":"2015-09-02T00:20:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/pulls/323","html_url":"https://github.com/codeforamerica/pittsburgh-purchasing-suite/pull/323","diff_url":"https://github.com/codeforamerica/pittsburgh-purchasing-suite/pull/323.diff","patch_url":"https://github.com/codeforamerica/pittsburgh-purchasing-suite/pull/323.patch"},"body":"### What Changed\r\n+ Added two new manage commands, `schedule_work` and `do_work`, that are responsible for scheduling tasks and doing the scheduled tasks.\r\n+ Added two of the Scout emails from #320. The rest should be merged directly into this branch.\r\n\r\n### Issues\r\n+ Fixes #27 \r\n+ Does some work on #210 \r\n\r\n### TODO\r\n+ Unit tests -- how should these work?\r\n+ Need to make sure that this works fully (on staging perhaps) before merging\r\n\r\n### NOTES\r\n+ Requires #321 to be merged as a pre-req\r\n+ Duplicates some work from #320 (should be merged into this PR)"},"comment":{"url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/comments/136899561","html_url":"https://github.com/codeforamerica/pittsburgh-purchasing-suite/pull/323#issuecomment-136899561","issue_url":"https://api.github.com/repos/codeforamerica/pittsburgh-purchasing-suite/issues/323","id":136899561,"user":{"login":"shellicious","id":1178390,"avatar_url":"https://avatars.githubusercontent.com/u/1178390?v=3","gravatar_id":"","url":"https://api.github.com/users/shellicious","html_url":"https://github.com/shellicious","followers_url":"https://api.github.com/users/shellicious/followers","following_url":"https://api.github.com/users/shellicious/following{/other_user}","gists_url":"https://api.github.com/users/shellicious/gists{/gist_id}","starred_url":"https://api.github.com/users/shellicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shellicious/subscriptions","organizations_url":"https://api.github.com/users/shellicious/orgs","repos_url":"https://api.github.com/users/shellicious/repos","events_url":"https://api.github.com/users/shellicious/events{/privacy}","received_events_url":"https://api.github.com/users/shellicious/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T00:20:36Z","updated_at":"2015-09-02T00:20:36Z","body":"every time I see 'nightly jobs' I think of Darkwing Duck.\r\n\r\n![giphy](https://cloud.githubusercontent.com/assets/1178390/9620315/ba065fee-50cd-11e5-86c9-b49b037733ae.gif)\r\n"}}