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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community