{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/344","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/344/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/344/events","html_url":"https://github.com/mesosphere/marathon/issues/344","id":36229430,"number":344,"title":"Add ability to launch one-off tasks","user":{"login":"guenter","id":53613,"avatar_url":"https://avatars.githubusercontent.com/u/53613?v=3","gravatar_id":"","url":"https://api.github.com/users/guenter","html_url":"https://github.com/guenter","followers_url":"https://api.github.com/users/guenter/followers","following_url":"https://api.github.com/users/guenter/following{/other_user}","gists_url":"https://api.github.com/users/guenter/gists{/gist_id}","starred_url":"https://api.github.com/users/guenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guenter/subscriptions","organizations_url":"https://api.github.com/users/guenter/orgs","repos_url":"https://api.github.com/users/guenter/repos","events_url":"https://api.github.com/users/guenter/events{/privacy}","received_events_url":"https://api.github.com/users/guenter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/12","html_url":"https://github.com/mesosphere/marathon/milestones/Backlog","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/12/labels","id":870039,"number":12,"title":"Backlog","description":"","creator":{"login":"ConnorDoyle","id":379372,"avatar_url":"https://avatars.githubusercontent.com/u/379372?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorDoyle","html_url":"https://github.com/ConnorDoyle","followers_url":"https://api.github.com/users/ConnorDoyle/followers","following_url":"https://api.github.com/users/ConnorDoyle/following{/other_user}","gists_url":"https://api.github.com/users/ConnorDoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorDoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorDoyle/subscriptions","organizations_url":"https://api.github.com/users/ConnorDoyle/orgs","repos_url":"https://api.github.com/users/ConnorDoyle/repos","events_url":"https://api.github.com/users/ConnorDoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorDoyle/received_events","type":"User","site_admin":false},"open_issues":196,"closed_issues":18,"state":"open","created_at":"2014-11-17T19:11:38Z","updated_at":"2015-11-30T22:23:11Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2014-06-21T18:35:38Z","updated_at":"2015-12-01T02:58:38Z","closed_at":null,"body":"Many apps require the ability to launch a one-off task (for example for database migrations). Add an easy way to do this in Marathon."},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/160832917","html_url":"https://github.com/mesosphere/marathon/issues/344#issuecomment-160832917","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/344","id":160832917,"user":{"login":"doctapp","id":3598900,"avatar_url":"https://avatars.githubusercontent.com/u/3598900?v=3","gravatar_id":"","url":"https://api.github.com/users/doctapp","html_url":"https://github.com/doctapp","followers_url":"https://api.github.com/users/doctapp/followers","following_url":"https://api.github.com/users/doctapp/following{/other_user}","gists_url":"https://api.github.com/users/doctapp/gists{/gist_id}","starred_url":"https://api.github.com/users/doctapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctapp/subscriptions","organizations_url":"https://api.github.com/users/doctapp/orgs","repos_url":"https://api.github.com/users/doctapp/repos","events_url":"https://api.github.com/users/doctapp/events{/privacy}","received_events_url":"https://api.github.com/users/doctapp/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T02:58:38Z","updated_at":"2015-12-01T02:58:38Z","body":"One use case is running an ad hoc job such as running a batch job (e.g.\nETL) or training a machine learning model.\n\nThe principal benefit is that we can perform these tasks whenever they are\nrequired (daily basis) without extensive planning.\n\nWe are using the 'suicide hack' that I posted for these jobs. We are using\nmarathon since it's API is better suited to our needs than a framework like\nChronos.\n\n\nOn Mon, Nov 30, 2015 at 9:19 PM, Matthias Eichstedt <\nnotifications@github.com> wrote:\n\n> Hey @Lawouach <https://github.com/Lawouach> @doctapp\n> <https://github.com/doctapp> and previous commenters,\n> Yes, we're aware that this makes sense in the context. There is an ongoing\n> internal discussion on integrating one off job support into Marathon, but\n> we do not yet have a clear direction.\n>\n> Feel free to share use cases: migrations, setting up prerequisites,\n> general cron jobs – which features would you need in order to have decent\n> benefit?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mesosphere/marathon/issues/344#issuecomment-160826800>\n> .\n>\n"}}