{"action":"created","issue":{"url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/12","repository_url":"https://api.github.com/repos/SocialEngine/rancher-cron","labels_url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/12/comments","events_url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/12/events","html_url":"https://github.com/SocialEngine/rancher-cron/issues/12","id":182402117,"number":12,"title":"How does rancher-cron handle services with scale > 1?","user":{"login":"entropyfarms","id":1709435,"avatar_url":"https://avatars.githubusercontent.com/u/1709435?v=3","gravatar_id":"","url":"https://api.github.com/users/entropyfarms","html_url":"https://github.com/entropyfarms","followers_url":"https://api.github.com/users/entropyfarms/followers","following_url":"https://api.github.com/users/entropyfarms/following{/other_user}","gists_url":"https://api.github.com/users/entropyfarms/gists{/gist_id}","starred_url":"https://api.github.com/users/entropyfarms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/entropyfarms/subscriptions","organizations_url":"https://api.github.com/users/entropyfarms/orgs","repos_url":"https://api.github.com/users/entropyfarms/repos","events_url":"https://api.github.com/users/entropyfarms/events{/privacy}","received_events_url":"https://api.github.com/users/entropyfarms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-11T23:47:36Z","updated_at":"2016-10-20T21:19:12Z","closed_at":null,"body":"I have several cron type jobs that run using rancher-cron.  I recently updated the jobs to allow parallelization since single run times were creeping up.  After I bumped up the scale (to 4) it seems rancher cron only starts one instance each interval.  I see the following in the README:\r\n\r\n\"You should not have Auto Restart turned on and have scale of 1 for services you wish to run as a cron container.\"\r\n\r\nIs there any reason that scale must be set to 1?  Is there any easy way to start such as task with scale > 1?  \r\n\r\nA naive implementation that starts all containers for the service would suffice.  Though if there is concern with backward-compatibility (though not certain if this would be an issue since the docs explicitly stated to use scale = 1 before now) a label like \"com.socialengine.rancher-cron.atscale\":\"true\" would also handle the use case."},"comment":{"url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/comments/255231465","html_url":"https://github.com/SocialEngine/rancher-cron/issues/12#issuecomment-255231465","issue_url":"https://api.github.com/repos/SocialEngine/rancher-cron/issues/12","id":255231465,"user":{"login":"entropyfarms","id":1709435,"avatar_url":"https://avatars.githubusercontent.com/u/1709435?v=3","gravatar_id":"","url":"https://api.github.com/users/entropyfarms","html_url":"https://github.com/entropyfarms","followers_url":"https://api.github.com/users/entropyfarms/followers","following_url":"https://api.github.com/users/entropyfarms/following{/other_user}","gists_url":"https://api.github.com/users/entropyfarms/gists{/gist_id}","starred_url":"https://api.github.com/users/entropyfarms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/entropyfarms/subscriptions","organizations_url":"https://api.github.com/users/entropyfarms/orgs","repos_url":"https://api.github.com/users/entropyfarms/repos","events_url":"https://api.github.com/users/entropyfarms/events{/privacy}","received_events_url":"https://api.github.com/users/entropyfarms/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T21:19:12Z","updated_at":"2016-10-20T21:19:12Z","body":"I pulled the latest version and confirmed that rancher-cron is now starting all containers."}}
{"actor":{"display_login":"entropyfarms"}}