skip to Main Content

Setting up a Laravel cron job in cPanel

I have the following function: protected function schedule(Schedule $schedule) { $schedule->command('email:users')->everyMinute(); } when I run the command artisan schedule:run it sends an email but when I add the following command to the cpanel as a cron job it doesn't send…

VIEW QUESTION
Back To Top
Search