Laravel Task Scheduling in Ubuntu using Cron Tabs

Setup Cron Job

sudo crontab -u www-data -e

Put below line at end of file

* * * * * /usr/bin/php /var/www/html/project_folder/artisan schedule:run >> /dev/null 2>&1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.