{"action":"created","issue":{"url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/2","repository_url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu","labels_url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/2/comments","events_url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/2/events","html_url":"https://github.com/felixbuenemann/sidekiq-dejavu/issues/2","id":161383006,"number":2,"title":"The job gets scheduled two times.","user":{"login":"ypadlyak","id":534582,"avatar_url":"https://avatars.githubusercontent.com/u/534582?v=3","gravatar_id":"","url":"https://api.github.com/users/ypadlyak","html_url":"https://github.com/ypadlyak","followers_url":"https://api.github.com/users/ypadlyak/followers","following_url":"https://api.github.com/users/ypadlyak/following{/other_user}","gists_url":"https://api.github.com/users/ypadlyak/gists{/gist_id}","starred_url":"https://api.github.com/users/ypadlyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypadlyak/subscriptions","organizations_url":"https://api.github.com/users/ypadlyak/orgs","repos_url":"https://api.github.com/users/ypadlyak/repos","events_url":"https://api.github.com/users/ypadlyak/events{/privacy}","received_events_url":"https://api.github.com/users/ypadlyak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-21T09:01:59Z","updated_at":"2016-06-21T12:16:51Z","closed_at":null,"body":"The job gets scheduled two times. The first time a few seconds before the time.\r\n\r\nJun 20 08:59:44 ip-10-0-3-198 sidekiq.log: 2016-06-20T05:59:44.109Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: start\r\nJun 20 08:59:49 ip-10-0-3-198 sidekiq.log: 2016-06-20T05:59:49.681Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: Scheduling Schedulable::Reports::DailyOrganizersWorker for 2016-06-20 06:00\r\nJun 20 08:59:49 ip-10-0-3-198 sidekiq.log: 2016-06-20T05:59:49.684Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: done: 5.575 sec\r\nJun 20 09:00:22 ip-10-0-3-198 sidekiq.log: 2016-06-20T06:00:22.767Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: start\r\nJun 20 09:00:28 ip-10-0-3-198 sidekiq.log: 2016-06-20T06:00:27.937Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: Scheduling Schedulable::Reports::DailyOrganizersWorker for 2016-06-21 06:00\r\nJun 20 09:00:28 ip-10-0-3-198 sidekiq.log: 2016-06-20T06:00:27.939Z 12758 TID-ouu97i214 Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: done: 5.172 sec\r\nJun 21 08:59:53 ip-10-0-3-198 sidekiq.log: 2016-06-21T05:59:52.970Z 12758 TID-ouu23dphg Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: start\r\nJun 21 08:59:59 ip-10-0-3-198 sidekiq.log: 2016-06-21T05:59:59.144Z 12758 TID-ouu23dphg Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: Scheduling Schedulable::Reports::DailyOrganizersWorker for 2016-06-21 06:00\r\nJun 21 08:59:59 ip-10-0-3-198 sidekiq.log: 2016-06-21T05:59:59.146Z 12758 TID-ouu23dphg Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: done: 6.177 sec\r\nJun 21 09:00:03 ip-10-0-3-198 sidekiq.log: 2016-06-21T06:00:03.452Z 12758 TID-149g1o Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: start\r\nJun 21 09:00:09 ip-10-0-3-198 sidekiq.log: 2016-06-21T06:00:09.703Z 12758 TID-149g1o Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: Scheduling Schedulable::Reports::DailyOrganizersWorker for 2016-06-22 06:00\r\nJun 21 09:00:09 ip-10-0-3-198 sidekiq.log: 2016-06-21T06:00:09.706Z 12758 TID-149g1o Schedulable::Reports::DailyOrganizersWorker JID-5579f811c533cdaa06509954 INFO: done: 6.254 sec "},"comment":{"url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/comments/227422099","html_url":"https://github.com/felixbuenemann/sidekiq-dejavu/issues/2#issuecomment-227422099","issue_url":"https://api.github.com/repos/felixbuenemann/sidekiq-dejavu/issues/2","id":227422099,"user":{"login":"felixbuenemann","id":909587,"avatar_url":"https://avatars.githubusercontent.com/u/909587?v=3","gravatar_id":"","url":"https://api.github.com/users/felixbuenemann","html_url":"https://github.com/felixbuenemann","followers_url":"https://api.github.com/users/felixbuenemann/followers","following_url":"https://api.github.com/users/felixbuenemann/following{/other_user}","gists_url":"https://api.github.com/users/felixbuenemann/gists{/gist_id}","starred_url":"https://api.github.com/users/felixbuenemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixbuenemann/subscriptions","organizations_url":"https://api.github.com/users/felixbuenemann/orgs","repos_url":"https://api.github.com/users/felixbuenemann/repos","events_url":"https://api.github.com/users/felixbuenemann/events{/privacy}","received_events_url":"https://api.github.com/users/felixbuenemann/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T12:16:51Z","updated_at":"2016-06-21T12:16:51Z","body":"Oh, I think I see the error now. Because the scheduled job ran shortly before its scheduled time, it was rescheduled for the same time again instead of rescheduling for the next run on the next day. That definitely shouldn't happen…\r\n\r\nThis might have to do with how exact the scheduling in Sidekiq itself is. I'll have to investigate some more."}}
{"actor":{"display_login":"felixbuenemann"}}