laravel scheduling run one time

Posted 1 year ago by thesogafoi

Hey Guys i used Scheduling in laravel and do something like this in kernal

$schedule->command('mail:daily')->everyMinute();

and i created mail:daily command and when i run schedule :

php artisan schedule:run
Running scheduled command: '/usr/bin/php7.2' 'artisan' mail:daily > '/dev/null' 2>&1

it done and email sent but a problem i have ,

it send me email for one time, it is Not run mail:daily over and over in every minute why So what can i do

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

Reply to

Use Markdown with GitHub-flavored code blocks.