When you will read about Laravel Task Scheduling, you may confuse how to add Cron entries to your server
. This section will help you to rosolve your confusion.
Let's assume your project name is
MyBlog
and the location of your project is/var/www/MyBlog
.
- open your terminal and run
crontab -e
- add
* * * * * php /var/www/MyBlog/artisan schedule:run >> /dev/null 2>&1
at the bottom then save and exit.
For more details chekcout this video.