Why are you trying to call laravel scheduler from supervisor?
This should be done every minute from cron
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, I'm using laradock with php-worker with scheduler configured on supervisor. It's the default configs basically. First I thought it was a bug on my code, then I take drastic measures and removed all, leaving just Log::info calls trying to understand what was causing 2 calls on my commands. So as you can see in the pictures, the schedule method is been called twice. Can someone give me some guidance to prevent this from happening? Thanks
[program:laravel-scheduler] process_name=%(program_name)s_%(process_num)02d command=/bin/sh -c "while [ true ]; do (php /var/www/artisan schedule:run --verbose --no-interaction &); sleep 60; done" autostart=true autorestart=true numprocs=1 user=laradock redirect_stderr=true

Please or to participate in this conversation.