{"action":"created","issue":{"url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34","repository_url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue","labels_url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34/comments","events_url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34/events","html_url":"https://github.com/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34","id":300894512,"number":34,"title":"Updating jobs","user":{"login":"jmoseley","id":4382100,"avatar_url":"https://avatars3.githubusercontent.com/u/4382100?v=4","gravatar_id":"","url":"https://api.github.com/users/jmoseley","html_url":"https://github.com/jmoseley","followers_url":"https://api.github.com/users/jmoseley/followers","following_url":"https://api.github.com/users/jmoseley/following{/other_user}","gists_url":"https://api.github.com/users/jmoseley/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoseley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoseley/subscriptions","organizations_url":"https://api.github.com/users/jmoseley/orgs","repos_url":"https://api.github.com/users/jmoseley/repos","events_url":"https://api.github.com/users/jmoseley/events{/privacy}","received_events_url":"https://api.github.com/users/jmoseley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-02-28T05:16:15Z","updated_at":"2018-03-02T22:15:49Z","closed_at":"2018-03-02T02:37:04Z","author_association":"NONE","body":"During local development I'm noticing that it creates a new copy of a job whenever the server restarts. I expected subsequent restarts to simply update the existing job (that has the same job id). Is there some mechanism here that I am not understanding?\r\n\r\nI expect that the implementations of my job will change over time, how do I ensure that new jobs that I register with new code overwrite existing versions instead of creating a new, different job?\r\n\r\nIt appears the calling `Job.run` at server startup creates a new entry in the `jobs_data` table, and then eventually all of these copies of the job run on the defined run schedule."},"comment":{"url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/comments/370068539","html_url":"https://github.com/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34#issuecomment-370068539","issue_url":"https://api.github.com/repos/msavin/SteveJobs...meteor.schedule.background.tasks.jobs.queue/issues/34","id":370068539,"user":{"login":"gary-menzel","id":5697099,"avatar_url":"https://avatars1.githubusercontent.com/u/5697099?v=4","gravatar_id":"","url":"https://api.github.com/users/gary-menzel","html_url":"https://github.com/gary-menzel","followers_url":"https://api.github.com/users/gary-menzel/followers","following_url":"https://api.github.com/users/gary-menzel/following{/other_user}","gists_url":"https://api.github.com/users/gary-menzel/gists{/gist_id}","starred_url":"https://api.github.com/users/gary-menzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gary-menzel/subscriptions","organizations_url":"https://api.github.com/users/gary-menzel/orgs","repos_url":"https://api.github.com/users/gary-menzel/repos","events_url":"https://api.github.com/users/gary-menzel/events{/privacy}","received_events_url":"https://api.github.com/users/gary-menzel/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T22:15:49Z","updated_at":"2018-03-02T22:15:49Z","author_association":"NONE","body":"@jmoseley Although I don't use TS, I found it useful. I have been using Promise a fair bit but somehow missed that there is a Meteor version available as a package.  It looks like it makes working with`Meteor.bindEnvironment` much more seamless. Thanks for the link."}}
{"actor":{"display_login":"gary-menzel"}}