I have a laravel 5.1 app. I want to run a laravel command twice a day in two days of the week. My attempt is as follows:
$schedule->command('supervisor:reminder')->weekly()->mondays()->thursdays()->twiceDaily(6, 13);
For some reason, I don't get the reminder emails on Mondays and Thursdays. What could be wrong?
I can't really remember because I don't use this command this often.
If you're a Laracasts paid user check out this video: https://laracasts.com/series/intermediate-laravel/episodes/1
I think that covers it.
Btw, laracasts is worth signing up for!
Using the command below,my application is sending notifications to managers on Mondays and Thursdays at 7AM and 2PM.
$schedule->command('manager:reminder')->cron('0 6,13 * * 1,4');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community