Skip to content

Commit d4cfdaa

Browse files
committed
Merge branch 'develop'
2 parents 0e63cae + 491fc27 commit d4cfdaa

File tree

2 files changed

+8
-34
lines changed

2 files changed

+8
-34
lines changed

app/Console/Kernel.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

routes/console.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
$this->comment(Inspiring::quote());
1111
})->purpose('Display an inspiring quote')->hourly();
1212

13+
if (app()->environment('production')) {
14+
Schedule::command('lcm:post-article-to-twitter')->everyFourHours();
15+
Schedule::command('lcm:post-article-to-telegram')->everyFourHours();
16+
Schedule::command('lcm:send-unverified-mails')->weeklyOn(1, '8:00');
17+
Schedule::command('lcm:notify-pending-articles')->cron('8 0 */2 * *');
18+
}
19+
20+
Schedule::command('lcm:delete-old-unverified-users')->daily();
1321
Schedule::command('sitemap:blog-generate')->dailyAt('01:00');
1422
Schedule::command('sitemap:discussion-generate')->dailyAt('01:10');
1523
Schedule::command('sitemap:generate')->dailyAt('02:00');

0 commit comments

Comments
 (0)