{"action":"created","issue":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/197","labels_url":"https://api.github.com/repos/yadayada/acd_cli/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/yadayada/acd_cli/issues/197/comments","events_url":"https://api.github.com/repos/yadayada/acd_cli/issues/197/events","html_url":"https://github.com/yadayada/acd_cli/issues/197","id":118278464,"number":197,"title":"Crontab acd_cli bash script","user":{"login":"2marshall","id":13956848,"avatar_url":"https://avatars.githubusercontent.com/u/13956848?v=3","gravatar_id":"","url":"https://api.github.com/users/2marshall","html_url":"https://github.com/2marshall","followers_url":"https://api.github.com/users/2marshall/followers","following_url":"https://api.github.com/users/2marshall/following{/other_user}","gists_url":"https://api.github.com/users/2marshall/gists{/gist_id}","starred_url":"https://api.github.com/users/2marshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2marshall/subscriptions","organizations_url":"https://api.github.com/users/2marshall/orgs","repos_url":"https://api.github.com/users/2marshall/repos","events_url":"https://api.github.com/users/2marshall/events{/privacy}","received_events_url":"https://api.github.com/users/2marshall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-22T18:13:33Z","updated_at":"2015-11-23T06:44:15Z","closed_at":null,"body":"I have created a bash script and pointed a crontab entry at it. I see the crontab entry executing in the syslog file but the acd_cli logging doesn't show entries during that crontab window. It looks like it isn't running.\r\n\r\nIs there a recommended way to bash script this acd_cli and create a crontab entry for it that will work?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/comments/158862728","html_url":"https://github.com/yadayada/acd_cli/issues/197#issuecomment-158862728","issue_url":"https://api.github.com/repos/yadayada/acd_cli/issues/197","id":158862728,"user":{"login":"breunigs","id":307954,"avatar_url":"https://avatars.githubusercontent.com/u/307954?v=3","gravatar_id":"","url":"https://api.github.com/users/breunigs","html_url":"https://github.com/breunigs","followers_url":"https://api.github.com/users/breunigs/followers","following_url":"https://api.github.com/users/breunigs/following{/other_user}","gists_url":"https://api.github.com/users/breunigs/gists{/gist_id}","starred_url":"https://api.github.com/users/breunigs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breunigs/subscriptions","organizations_url":"https://api.github.com/users/breunigs/orgs","repos_url":"https://api.github.com/users/breunigs/repos","events_url":"https://api.github.com/users/breunigs/events{/privacy}","received_events_url":"https://api.github.com/users/breunigs/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T06:44:15Z","updated_at":"2015-11-23T06:44:15Z","body":"are you looking at the right user? I.e. if you run the crontab script as root, you need to check `~root/.cache/acd_cli/` instead of /your/ home folder. \r\n\r\nare you sure the path is recognized correctly under crontab? I.e. is your script picking up your `.bash_profile` or other files, where you set your `$PATH` to include `/usr/local/bin` most likely. In that case, maybe an absolute path to `acd_cli` helps?"}}