السلام عليكم
في توجيهات لتشغيل برنامج laravel في الإستضافة لم افهم بعض ما اجاء في التوجيه مثل
You need to run the web sockets all time with the help of supervisor.
some command ->start the websocket
"php artisan websockets:serve --port=6006"
The port can change from .env file
You need to run the schedules all time with the help of cronjob. Command : php artisan schedule:run
So add a cronjob to run schedules and the schedule:run Artisan command will evaluate all of your scheduled tasks and determine if they need to run based on the server's current time.
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
You need to run the queue all time with the help of supervisor. Here we use the redis server for withdrawal process
When user place a withdrawal order it will go to queue
some command ->start the horizon "php artisan horizon", 'php artisan horizon:terminate' ,
"php artisan queue:restart"
السؤال
ابراهيم الخليل سماني
السلام عليكم
في توجيهات لتشغيل برنامج laravel في الإستضافة لم افهم بعض ما اجاء في التوجيه مثل
You need to run the web sockets all time with the help of supervisor. some command ->start the websocket "php artisan websockets:serve --port=6006" The port can change from .env file
You need to run the schedules all time with the help of cronjob. Command : php artisan schedule:run So add a cronjob to run schedules and the schedule:run Artisan command will evaluate all of your scheduled tasks and determine if they need to run based on the server's current time. * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
You need to run the queue all time with the help of supervisor. Here we use the redis server for withdrawal process When user place a withdrawal order it will go to queue some command ->start the horizon "php artisan horizon", 'php artisan horizon:terminate' , "php artisan queue:restart"
توضيح العنوان
7 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.