Skip to content

Commit

Permalink
Support running more than 1 job simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
smortexa authored Jan 11, 2024
1 parent a109c95 commit e226bda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/octane/start-container
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ elif [ ${container_mode} = "horizon" ]; then
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.horizon.conf
elif [ ${container_mode} = "scheduler" ]; then
initialStuff
exec supercronic /etc/supercronic/laravel
exec supercronic -overlapping /etc/supercronic/laravel
else
echo "Container mode mismatched."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion deployment/octane/supervisord.app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stopwaitsecs=3600

[program:scheduler]
process_name=%(program_name)s_%(process_num)02d
command=supercronic /etc/supercronic/laravel
command=supercronic -overlapping /etc/supercronic/laravel
user=%(ENV_NON_ROOT_USER)s
autostart=%(ENV_APP_WITH_SCHEDULER)s
autorestart=true
Expand Down
2 changes: 1 addition & 1 deletion deployment/octane/supervisord.app.roadrunner.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stopwaitsecs=3600

[program:scheduler]
process_name=%(program_name)s_%(process_num)02d
command=supercronic /etc/supercronic/laravel
command=supercronic -overlapping /etc/supercronic/laravel
user=%(ENV_NON_ROOT_USER)s
autostart=%(ENV_APP_WITH_SCHEDULER)s
autorestart=true
Expand Down

0 comments on commit e226bda

Please sign in to comment.