{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/2293","repository_url":"https://api.github.com/repos/docker/compose","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":"ghost","id":10137,"avatar_url":"https://avatars0.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[{"id":69777239,"url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-10-30T08:57:51Z","updated_at":"2017-06-20T08:28:05Z","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.\n\n```\n#!/bin/sh\n# arg0 start-channel\n# arg1 channel name\n\ncd $HOME/$1\ndocker-compose ps\ndocker-compose up -d\ndocker-compose ps\nexit 0\n```\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/309682163","html_url":"https://github.com/docker/compose/issues/2293#issuecomment-309682163","issue_url":"https://api.github.com/repos/docker/compose/issues/2293","id":309682163,"user":{"login":"lvhengani","id":15209492,"avatar_url":"https://avatars3.githubusercontent.com/u/15209492?v=3","gravatar_id":"","url":"https://api.github.com/users/lvhengani","html_url":"https://github.com/lvhengani","followers_url":"https://api.github.com/users/lvhengani/followers","following_url":"https://api.github.com/users/lvhengani/following{/other_user}","gists_url":"https://api.github.com/users/lvhengani/gists{/gist_id}","starred_url":"https://api.github.com/users/lvhengani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvhengani/subscriptions","organizations_url":"https://api.github.com/users/lvhengani/orgs","repos_url":"https://api.github.com/users/lvhengani/repos","events_url":"https://api.github.com/users/lvhengani/events{/privacy}","received_events_url":"https://api.github.com/users/lvhengani/received_events","type":"User","site_admin":false},"created_at":"2017-06-20T08:28:05Z","updated_at":"2017-06-20T08:28:05Z","body":"Thank you for this post. I was struggling until I stumbled upon this post. I am using absolute path `/usr/local/bin`."}}
{"actor":{"display_login":"lvhengani"}}