Answer the question
In order to leave comments, you need to log in
Why does "Warning: Got an error reading communication packets" crash when using laravel 8 scheduler?
There is a scheduler that every 5 seconds gets the message history of each client from the telegram.
I use supervisorctl to start.
[program:short-scheduler]
command=/usr/bin/php /var/www/messenger/new_api/artisan short-schedule:run
numprocs=1
autostart=true
autorestart=true
protected function shortSchedule(ShortSchedule $schedule) {
$schedule->command('telegram:history')->everySecond(5)->withoutOverlapping();
}
Answer the question
In order to leave comments, you need to log in
and your script is allowed into the database? server name, database name, login and password specified? Are they correct?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question