update email freqs

This commit is contained in:
Ben Goldsworthy 2024-02-18 10:35:46 +00:00
parent 072cb4b585
commit 35f00901e2

View file

@ -24,6 +24,7 @@ class Kernel extends ConsoleKernel
$schedule->command('digest:send --weekly') $schedule->command('digest:send --weekly')
->weekly() ->weekly()
->fridays()
->onFailure(function () { ->onFailure(function () {
Log::error("Weekly email digest send failed"); Log::error("Weekly email digest send failed");
}); });
@ -35,7 +36,7 @@ class Kernel extends ConsoleKernel
}); });
$schedule->command('digest:send --monthly') $schedule->command('digest:send --monthly')
->monthly() ->monthlyOn(16, "13:00")
->onFailure(function () { ->onFailure(function () {
Log::error("Monthly email digest send failed"); Log::error("Monthly email digest send failed");
}); });