{"action":"closed","issue":{"url":"https://api.github.com/repos/etsy/411/issues/27","repository_url":"https://api.github.com/repos/etsy/411","labels_url":"https://api.github.com/repos/etsy/411/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/etsy/411/issues/27/comments","events_url":"https://api.github.com/repos/etsy/411/issues/27/events","html_url":"https://github.com/etsy/411/issues/27","id":179817218,"number":27,"title":"411 Setup documentation seems outdated for crontab section","user":{"login":"kasperbrandenburg","id":7682836,"avatar_url":"https://avatars.githubusercontent.com/u/7682836?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperbrandenburg","html_url":"https://github.com/kasperbrandenburg","followers_url":"https://api.github.com/users/kasperbrandenburg/followers","following_url":"https://api.github.com/users/kasperbrandenburg/following{/other_user}","gists_url":"https://api.github.com/users/kasperbrandenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperbrandenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperbrandenburg/subscriptions","organizations_url":"https://api.github.com/users/kasperbrandenburg/orgs","repos_url":"https://api.github.com/users/kasperbrandenburg/repos","events_url":"https://api.github.com/users/kasperbrandenburg/events{/privacy}","received_events_url":"https://api.github.com/users/kasperbrandenburg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-28T16:09:45Z","updated_at":"2016-09-28T19:11:45Z","closed_at":"2016-09-28T19:11:45Z","body":"Hi,\r\n\r\nIn the initial setup guide, the cronjob configuration seems outdated.\r\nI've followed the guide today, and got the system up and running, but cronjob didn't work\r\n\r\n\r\n```\r\n# Add the following line into your crontab.\r\n$ crontab -u USER -e\r\n /var/www/411/bin/cron.php > /dev/null 2>&1 && /var/www/411/bin/worker.php > /dev/null 2>&1\r\n```\r\n\r\n\r\nRunning the CRON itself produces the following error\r\n```\r\n[+] Scheduler: 1475078702\r\nexcept [NONE] Errno 2: \"pcntl_exec(): Error has occurred: (errno 13) Permission denied\" at [/var/www/411/phplib/Scheduler.php:44] 0:[pcntl_exec() called at [/var/www/411/phplib/Scheduler.php:44]] 1:[FOO\\Scheduler->process() called at [/var/www/411/bin/cron.php:47]]\r\nerr [411_Scheduler] Scheduler error site:[1] ret:[256]\r\n```\r\n\r\nI had to change to this, which seems to make the cron functionality work\r\n```\r\n* * * * * php /var/www/411/bin/cron.php --backfill --date=/$(date +\\%Y-\\%m-\\%d) --site=1\r\n* * * * * php /var/www/411/bin/worker.php --site=1**\r\n```\r\nam i completely off, or is this correct? "}}
{"actor":{"display_login":"kasperbrandenburg"}}