Cron

Add a cron that runs the scheduler every minute:

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

Plesk

In Plesk, the command will look something like:

cd /var/www/vhosts/domain/httpdocs/ && php artisan schedule:run >> /dev/null 2>&1

Replace "domain" with your real domain.

Make sure to set the "Run" to "Cron Style" and insert:

* * * * *

image.png


Revision #7
Created 2 May 2023 16:35:11 by Dima Botezatu
Updated 30 November 2023 10:06:01 by Dima Botezatu