lukegalea16
1 week ago
105
11
Laravel

Laravel Scheduler

Posted 1 week ago by lukegalea16

I am trying to get a Laravel Scheduler to work using the following guide: https://laravel.com/docs/5.7/scheduling

I understood the define schedule and creating a command part however, in order to start the Scheduler a Cron entry needs to be done? as follows: * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

If the scheduled task is to be run daily, what frequency should the Cron entry have? To me it seems like a duplicate entry since I would have already specified the frequency of the job in the Laravel Kernel.

Please sign in or create an account to participate in this conversation.