السلام عليكم
لم أفهم جيدا كيف يتم ذلك وليس عندي أي تصور عليه من قبل ’ أرجوا مساعدتي في فهم مايجري
عند تنفيد الأمر
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 >> /d
السلام عليكم
لم أفهم جيدا كيف يتم ذلك وليس عندي أي تصور عليه من قبل ’ أرجوا مساعدتي في فهم مايجري
عند تنفيد الأمر
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 >> /d