{"action":"created","issue":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/109","labels_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/109/comments","events_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/109/events","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/109","id":104872966,"number":109,"title":"Recommended way to update/overwrite existing job options?","user":{"login":"voidale","id":4450730,"avatar_url":"https://avatars.githubusercontent.com/u/4450730?v=3","gravatar_id":"","url":"https://api.github.com/users/voidale","html_url":"https://github.com/voidale","followers_url":"https://api.github.com/users/voidale/followers","following_url":"https://api.github.com/users/voidale/following{/other_user}","gists_url":"https://api.github.com/users/voidale/gists{/gist_id}","starred_url":"https://api.github.com/users/voidale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidale/subscriptions","organizations_url":"https://api.github.com/users/voidale/orgs","repos_url":"https://api.github.com/users/voidale/repos","events_url":"https://api.github.com/users/voidale/events{/privacy}","received_events_url":"https://api.github.com/users/voidale/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-04T11:26:29Z","updated_at":"2015-09-11T12:31:59Z","closed_at":"2015-09-04T16:49:57Z","body":"Hello Vaughn! \r\n\r\nIs it possible to overwrite Job.repeat or update for existing job in the collection? \r\n\r\nI'm trying to update the later js schedule but looking at the docs or trying to fetch the job using `j = new Job(jc, jobDoc)` and doing .save() has no effect and no new job either.\r\n\r\nMy use case is like this:\r\n1. user picks on client side a later js schedule (just one needs to be unique) something like: \r\n`later.parse.recur().on('12:15', '16:25').time().onWeekday()` \r\n2. we create a job for this schedule.\r\n3. user changed his schedule how we update job? \r\n\r\nThanks you for taking the time answering all my random questions"},"comment":{"url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/comments/139533710","html_url":"https://github.com/vsivsi/meteor-job-collection/issues/109#issuecomment-139533710","issue_url":"https://api.github.com/repos/vsivsi/meteor-job-collection/issues/109","id":139533710,"user":{"login":"voidale","id":4450730,"avatar_url":"https://avatars.githubusercontent.com/u/4450730?v=3","gravatar_id":"","url":"https://api.github.com/users/voidale","html_url":"https://github.com/voidale","followers_url":"https://api.github.com/users/voidale/followers","following_url":"https://api.github.com/users/voidale/following{/other_user}","gists_url":"https://api.github.com/users/voidale/gists{/gist_id}","starred_url":"https://api.github.com/users/voidale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidale/subscriptions","organizations_url":"https://api.github.com/users/voidale/orgs","repos_url":"https://api.github.com/users/voidale/repos","events_url":"https://api.github.com/users/voidale/events{/privacy}","received_events_url":"https://api.github.com/users/voidale/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T12:31:59Z","updated_at":"2015-09-11T12:31:59Z","body":"@vsivsi yes of course I will add those tests and improve it further, I will need updated IANA time zone database. So I will probably create a meteor package for `bigeasy/timezone` to update IANA database manually because it's important to be uptodate in my application with latest timezone changes. Had a chance to review? Can we easily adapt this to job-collection? :) Thanks!"}}