Closed varemel closed 8 months ago
Thanks for your work.
Faced 2 issues regarding Laravel scheduler:
-overlapping
Suggest to add this flag in supervisord.app.conf
[program:scheduler] ... command=supercronic -overlapping /etc/supercronic/laravel ...
Suggest to add to supervisord.app.conf one time process with autorestart=false
autorestart=false
[program:clear-scheduler-cache] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan schedule:clear-cache user=%(ENV_NON_ROOT_USER)s autostart=%(ENV_APP_WITH_SCHEDULER)s autorestart=false stdout_logfile=/var/www/html/scheduler.log
Thanks for your suggestions, and I'm happy to say I've implemented them.
Thanks for your work.
Faced 2 issues regarding Laravel scheduler:
-overlapping
flag in supercronic start command (https://github.com/aptible/supercronic#duplicate-jobs).Suggest to add this flag in supervisord.app.conf
Suggest to add to supervisord.app.conf one time process with
autorestart=false