From 606067b28a12860c8dba7155d04207e09e9d2098 Mon Sep 17 00:00:00 2001 From: Stevy Endaman Date: Thu, 10 Oct 2024 00:58:58 +0200 Subject: [PATCH] feat: LAR 10 Send a Telegram notification for articles that are submitted but neither approved nor declined. --- app/Console/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 5e83e0bb..3ee86670 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -23,7 +23,7 @@ protected function schedule(Schedule $schedule): void $schedule->command('lcm:post-article-to-telegram')->everyFourHours(); $schedule->command('lcm:send-unverified-mails')->weeklyOn(1, '8:00'); $schedule->command('sitemap:generate')->daily(); - $schedule->command('lcm:notify-pending-articles')->everyTwoDays(); + $schedule->command('lcm:notify-pending-articles')->days(2); } } @@ -31,4 +31,4 @@ protected function commands(): void { $this->load(__DIR__.'/Commands'); } -} +} \ No newline at end of file