{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2293","labels_url":"https://api.github.com/repos/docker/compose/issues/2293/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/2293/comments","events_url":"https://api.github.com/repos/docker/compose/issues/2293/events","html_url":"https://github.com/docker/compose/issues/2293","id":114227324,"number":2293,"title":"Crontab can't execute docker-compose commands","user":{"login":"referup-cfiguera","id":13849845,"avatar_url":"https://avatars.githubusercontent.com/u/13849845?v=3","gravatar_id":"","url":"https://api.github.com/users/referup-cfiguera","html_url":"https://github.com/referup-cfiguera","followers_url":"https://api.github.com/users/referup-cfiguera/followers","following_url":"https://api.github.com/users/referup-cfiguera/following{/other_user}","gists_url":"https://api.github.com/users/referup-cfiguera/gists{/gist_id}","starred_url":"https://api.github.com/users/referup-cfiguera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/referup-cfiguera/subscriptions","organizations_url":"https://api.github.com/users/referup-cfiguera/orgs","repos_url":"https://api.github.com/users/referup-cfiguera/repos","events_url":"https://api.github.com/users/referup-cfiguera/events{/privacy}","received_events_url":"https://api.github.com/users/referup-cfiguera/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-30T08:57:51Z","updated_at":"2015-11-02T07:21:49Z","closed_at":"2015-11-02T07:21:49Z","body":"This shell script (as example) is never executed by __crontab__ unless the docker-compose commands are commented. If is executed standalone it runs.\r\n\r\n```\r\n#!/bin/sh\r\n# arg0 start-channel\r\n# arg1 channel name\r\n\r\ncd $HOME/$1\r\ndocker-compose ps\r\ndocker-compose up -d\r\ndocker-compose ps\r\nexit 0\r\n```"}}