Skip to content

Commit

Permalink
use built in schedule worker
Browse files Browse the repository at this point in the history
  • Loading branch information
bertbijnens committed Aug 20, 2024
1 parent 9e32e81 commit f4c9633
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions php-base/scripts/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ if [ "$1" = 'serve' ]; then

# Helper to run cron jobs
elif [ "$1" = 'scheduler' ]; then
while [ true ]; do
php artisan schedule:run --verbose --no-interaction &
sleep 60
done
php artisan schedule:work --verbose --no-interaction

# Helper to run queue jobs
elif [ "$1" = 'queue' ]; then
Expand Down

0 comments on commit f4c9633

Please sign in to comment.