I am scheduling mailings by command in laravel. When I include the execution in my cron file, it is executed in the frequency indicated in the cron and not in the indicated schedule of my command
En el cron:::::
* * * * * php /var/www/test-gestionventa/artisan sms:birthday 1>> /dev/null 2>&1
En mi class Kernel:::::::
protected function schedule(Schedule $schedule)
{
$schedule->command('sms:birthday')->everyFiveMinutes();
}
How do I make the cron run every 5 minutes as indicated in my class and not every minute as it is in cron? without having to specify the same frequency (every 5 minutes) in cron
Thank you.