{"action":"created","issue":{"url":"https://api.github.com/repos/rschmukler/agenda/issues/157","labels_url":"https://api.github.com/repos/rschmukler/agenda/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/rschmukler/agenda/issues/157/comments","events_url":"https://api.github.com/repos/rschmukler/agenda/issues/157/events","html_url":"https://github.com/rschmukler/agenda/issues/157","id":60534213,"number":157,"title":"Run missed jobs if the server was down","user":{"login":"jitowix","id":5314435,"avatar_url":"https://avatars.githubusercontent.com/u/5314435?v=3","gravatar_id":"","url":"https://api.github.com/users/jitowix","html_url":"https://github.com/jitowix","followers_url":"https://api.github.com/users/jitowix/followers","following_url":"https://api.github.com/users/jitowix/following{/other_user}","gists_url":"https://api.github.com/users/jitowix/gists{/gist_id}","starred_url":"https://api.github.com/users/jitowix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitowix/subscriptions","organizations_url":"https://api.github.com/users/jitowix/orgs","repos_url":"https://api.github.com/users/jitowix/repos","events_url":"https://api.github.com/users/jitowix/events{/privacy}","received_events_url":"https://api.github.com/users/jitowix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T17:09:52Z","updated_at":"2015-03-10T18:03:34Z","closed_at":null,"body":"I need to run a job every week (monday at 8:30am) to reset some data from my database.\r\nIf the server was down at this time and come back online at 9am, how can I force the missed job to run?"},"comment":{"url":"https://api.github.com/repos/rschmukler/agenda/issues/comments/78111722","html_url":"https://github.com/rschmukler/agenda/issues/157#issuecomment-78111722","issue_url":"https://api.github.com/repos/rschmukler/agenda/issues/157","id":78111722,"user":{"login":"droppedoncaprica","id":1487206,"avatar_url":"https://avatars.githubusercontent.com/u/1487206?v=3","gravatar_id":"","url":"https://api.github.com/users/droppedoncaprica","html_url":"https://github.com/droppedoncaprica","followers_url":"https://api.github.com/users/droppedoncaprica/followers","following_url":"https://api.github.com/users/droppedoncaprica/following{/other_user}","gists_url":"https://api.github.com/users/droppedoncaprica/gists{/gist_id}","starred_url":"https://api.github.com/users/droppedoncaprica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droppedoncaprica/subscriptions","organizations_url":"https://api.github.com/users/droppedoncaprica/orgs","repos_url":"https://api.github.com/users/droppedoncaprica/repos","events_url":"https://api.github.com/users/droppedoncaprica/events{/privacy}","received_events_url":"https://api.github.com/users/droppedoncaprica/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T18:03:34Z","updated_at":"2015-03-10T18:03:34Z","body":"Generally speaking, the job will run on initial Agenda startup if it is set via human interval and will run only  at the specific time if set via the `cron` syntax.\r\n\r\nOverall, I don't think there's a way currently of re-running missed jobs.  Say if a job was supposed to run every day at noon and the server was down for a week, the server won't re-run the jobs that were missed when it gets brought back up."}}