{"action":"created","issue":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/162","repository_url":"https://api.github.com/repos/vsivsi/meteor-job-collection","labels_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/162/comments","events_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/162/events","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/162","id":139606799,"number":162,"title":"job.after() only runs after first available time?","user":{"login":"JulianKingman","id":1566400,"avatar_url":"https://avatars.githubusercontent.com/u/1566400?v=3","gravatar_id":"","url":"https://api.github.com/users/JulianKingman","html_url":"https://github.com/JulianKingman","followers_url":"https://api.github.com/users/JulianKingman/followers","following_url":"https://api.github.com/users/JulianKingman/following{/other_user}","gists_url":"https://api.github.com/users/JulianKingman/gists{/gist_id}","starred_url":"https://api.github.com/users/JulianKingman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulianKingman/subscriptions","organizations_url":"https://api.github.com/users/JulianKingman/orgs","repos_url":"https://api.github.com/users/JulianKingman/repos","events_url":"https://api.github.com/users/JulianKingman/events{/privacy}","received_events_url":"https://api.github.com/users/JulianKingman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/labels/can't%20reproduce","name":"can't reproduce","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-09T15:23:59Z","updated_at":"2016-03-15T05:00:52Z","closed_at":"2016-03-15T04:49:54Z","body":"I can't seem to get a job to start right away. Here's what I've tried:\r\n````javascript\r\njob.after(new Date());\r\n//sets it to same time as now, but tomorrow\r\njob.after(moment().add(-1, 'days').toDate());\r\n//should be yesterday, same result as above\r\njob.after(moment().add(2, 'days').toDate());\r\n//future dates like this work fine\r\n````\r\nNot putting .after() seems to set after to tomorrow at today's time, it's as if it can only run on the next instance (I'm using every 1 day). Am I doing something wrong here?"},"comment":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/comments/196661714","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/162#issuecomment-196661714","issue_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/162","id":196661714,"user":{"login":"vsivsi","id":428642,"avatar_url":"https://avatars.githubusercontent.com/u/428642?v=3","gravatar_id":"","url":"https://api.github.com/users/vsivsi","html_url":"https://github.com/vsivsi","followers_url":"https://api.github.com/users/vsivsi/followers","following_url":"https://api.github.com/users/vsivsi/following{/other_user}","gists_url":"https://api.github.com/users/vsivsi/gists{/gist_id}","starred_url":"https://api.github.com/users/vsivsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsivsi/subscriptions","organizations_url":"https://api.github.com/users/vsivsi/orgs","repos_url":"https://api.github.com/users/vsivsi/repos","events_url":"https://api.github.com/users/vsivsi/events{/privacy}","received_events_url":"https://api.github.com/users/vsivsi/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T05:00:52Z","updated_at":"2016-03-15T05:00:52Z","body":"Glad you figured out what was happening!  "}}