{"action":"closed","issue":{"url":"https://api.github.com/repos/rija/docker-nginx-fpm-caches-wordpress/issues/4","labels_url":"https://api.github.com/repos/rija/docker-nginx-fpm-caches-wordpress/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rija/docker-nginx-fpm-caches-wordpress/issues/4/comments","events_url":"https://api.github.com/repos/rija/docker-nginx-fpm-caches-wordpress/issues/4/events","html_url":"https://github.com/rija/docker-nginx-fpm-caches-wordpress/issues/4","id":129993628,"number":4,"title":"cron crashes in supervisor ","user":{"login":"rija","id":11455,"avatar_url":"https://avatars.githubusercontent.com/u/11455?v=3","gravatar_id":"","url":"https://api.github.com/users/rija","html_url":"https://github.com/rija","followers_url":"https://api.github.com/users/rija/followers","following_url":"https://api.github.com/users/rija/following{/other_user}","gists_url":"https://api.github.com/users/rija/gists{/gist_id}","starred_url":"https://api.github.com/users/rija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rija/subscriptions","organizations_url":"https://api.github.com/users/rija/orgs","repos_url":"https://api.github.com/users/rija/repos","events_url":"https://api.github.com/users/rija/events{/privacy}","received_events_url":"https://api.github.com/users/rija/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-30T14:47:11Z","updated_at":"2016-01-30T14:55:46Z","closed_at":"2016-01-30T14:55:46Z","body":"cron cannot be stopped or started again after initial launch by supervisord.\r\n\r\n```bash\r\n$ supervisorctl\r\nsupervisor> status\r\ncron                             FATAL     Exited too quickly (process log may have details)\r\nnginx                            RUNNING   pid 27, uptime 0:00:21\r\nphp5-fpm                         RUNNING   pid 29, uptime 0:00:21\r\nphp5-fpm-log                     RUNNING   pid 28, uptime 0:00:21\r\nstdout                           RUNNING   pid 25, uptime 0:00:21\r\n```\r\n```bash\r\n$ tail -f /tmp/supervisord.log \r\n2016-01-30 14:41:24,161 INFO gave up: cron entered FATAL state, too many start retries too quickly\r\n2016-01-30 14:41:29,167 INFO spawned: 'cron' with pid 57\r\n2016-01-30 14:41:29,172 INFO exited: cron (exit status 1; not expected)\r\n2016-01-30 14:41:30,178 INFO spawned: 'cron' with pid 58\r\n2016-01-30 14:41:30,184 INFO exited: cron (exit status 1; not expected)\r\n2016-01-30 14:41:32,193 INFO spawned: 'cron' with pid 59\r\n2016-01-30 14:41:32,199 INFO exited: cron (exit status 1; not expected)\r\n2016-01-30 14:41:35,206 INFO spawned: 'cron' with pid 60\r\n2016-01-30 14:41:35,211 INFO exited: cron (exit status 1; not expected)\r\n2016-01-30 14:41:35,212 INFO gave up: cron entered FATAL state, too many start retries too quickly\r\n```\r\n\r\nThe supervisord configuration for cron:\r\n```\r\n[program:cron]\r\ncommand=/usr/sbin/cron\r\nstdout_events_enabled=true\r\nstderr_events_enabled=true\r\n```"}}