laravel scheduling run one time

Posted 10 months 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.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.