{"action":"opened","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/3001","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/3001/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/3001/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/3001/events","html_url":"https://github.com/concrete5/concrete5/issues/3001","id":108363835,"number":3001,"title":"Console Jobs commands don't work with symlinked core","user":{"login":"zanedev","id":817344,"avatar_url":"https://avatars.githubusercontent.com/u/817344?v=3","gravatar_id":"","url":"https://api.github.com/users/zanedev","html_url":"https://github.com/zanedev","followers_url":"https://api.github.com/users/zanedev/followers","following_url":"https://api.github.com/users/zanedev/following{/other_user}","gists_url":"https://api.github.com/users/zanedev/gists{/gist_id}","starred_url":"https://api.github.com/users/zanedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanedev/subscriptions","organizations_url":"https://api.github.com/users/zanedev/orgs","repos_url":"https://api.github.com/users/zanedev/repos","events_url":"https://api.github.com/users/zanedev/events{/privacy}","received_events_url":"https://api.github.com/users/zanedev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-25T16:52:48Z","updated_at":"2015-09-25T16:52:48Z","closed_at":null,"body":"Console jobs commands like \"c5:job --list\" don't work if in a symlinked concrete directory environment because the script /concrete/bin/concrete5.php uses the absolute path to the symlinked concrete folder and doesn't find the respective configs for the project.  \r\n\r\nA workaround is to copy the bin folder to the applications folder and change line 2 of /concrete/bin/concrete5.php to check a directory up for the concrete directory.  Possibly we should optionally allow passing in the concrete directory or project root location instead of relying on the location of the console script?\r\n\r\nOriginal code line 2 of concrete/bin/concrete5.php:\r\n```php\r\n$DIR_BASE_CORE = dirname(__DIR__);\r\n```\r\n\r\nWorkaround code line 2 of application/bin/concrete5.php\r\n```php\r\n$DIR_BASE_CORE = dirname(__DIR__).\"/../concrete\";\r\n```\r\n"}}