{"action":"created","issue":{"url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/144","labels_url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/144/comments","events_url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/144/events","html_url":"https://github.com/jmettraux/rufus-scheduler/issues/144","id":64446897,"number":144,"title":"Unable to parse certain valid cron syntaxes","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jmettraux","id":3624,"avatar_url":"https://avatars.githubusercontent.com/u/3624?v=3","gravatar_id":"","url":"https://api.github.com/users/jmettraux","html_url":"https://github.com/jmettraux","followers_url":"https://api.github.com/users/jmettraux/followers","following_url":"https://api.github.com/users/jmettraux/following{/other_user}","gists_url":"https://api.github.com/users/jmettraux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmettraux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmettraux/subscriptions","organizations_url":"https://api.github.com/users/jmettraux/orgs","repos_url":"https://api.github.com/users/jmettraux/repos","events_url":"https://api.github.com/users/jmettraux/events{/privacy}","received_events_url":"https://api.github.com/users/jmettraux/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-26T05:46:49Z","updated_at":"2015-03-26T06:41:57Z","closed_at":null,"body":"The cron expression `23 10/2 * * *` means *every 23rd minute past the 10, 12, 14, 16, 18, 20 and 22nd hour*\r\n\r\nrufus-scheduler is not in a position to understand, parse or execute stuff in accordance with this specification -\r\n\r\n```ruby\r\ns = Rufus::Scheduler::CronLine.new('23 10/2 * * *')\r\nt0 = Time.at(0) #unix epoch\r\n10.times {\r\n  puts \"Next time - #{t0 = s.next_time(t0)}\"\r\n}\r\n```\r\n\r\nGenerated output - \r\n\r\n```\r\nNext time - 1970-01-01 10:23:00 +0000\r\nNext time - 1970-01-02 10:23:00 +0000\r\nNext time - 1970-01-03 10:23:00 +0000\r\nNext time - 1970-01-04 10:23:00 +0000\r\nNext time - 1970-01-05 10:23:00 +0000\r\nNext time - 1970-01-06 10:23:00 +0000\r\nNext time - 1970-01-07 10:23:00 +0000\r\nNext time - 1970-01-08 10:23:00 +0000\r\nNext time - 1970-01-09 10:23:00 +0000\r\nNext time - 1970-01-10 10:23:00 +0000\r\n```\r\n\r\nExpected output is -\r\n\r\n```\r\nNext time - 1970-01-01 10:23:00 +0000\r\nNext time - 1970-01-01 12:23:00 +0000\r\nNext time - 1970-01-01 14:23:00 +0000\r\nNext time - 1970-01-01 16:23:00 +0000\r\nNext time - 1970-01-01 18:23:00 +0000\r\nNext time - 1970-01-01 22:23:00 +0000\r\nNext time - 1970-01-02 10:23:00 +0000\r\n```"},"comment":{"url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/comments/86361492","html_url":"https://github.com/jmettraux/rufus-scheduler/issues/144#issuecomment-86361492","issue_url":"https://api.github.com/repos/jmettraux/rufus-scheduler/issues/144","id":86361492,"user":{"login":"jmettraux","id":3624,"avatar_url":"https://avatars.githubusercontent.com/u/3624?v=3","gravatar_id":"","url":"https://api.github.com/users/jmettraux","html_url":"https://github.com/jmettraux","followers_url":"https://api.github.com/users/jmettraux/followers","following_url":"https://api.github.com/users/jmettraux/following{/other_user}","gists_url":"https://api.github.com/users/jmettraux/gists{/gist_id}","starred_url":"https://api.github.com/users/jmettraux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmettraux/subscriptions","organizations_url":"https://api.github.com/users/jmettraux/orgs","repos_url":"https://api.github.com/users/jmettraux/repos","events_url":"https://api.github.com/users/jmettraux/events{/privacy}","received_events_url":"https://api.github.com/users/jmettraux/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T06:41:57Z","updated_at":"2015-03-26T06:41:57Z","body":"Thanks! I'll fix that."}}