Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mckenziearts committed Dec 26, 2024
2 parents 0e63cae + 491fc27 commit d4cfdaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 34 deletions.
34 changes: 0 additions & 34 deletions app/Console/Kernel.php

This file was deleted.

8 changes: 8 additions & 0 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();

if (app()->environment('production')) {
Schedule::command('lcm:post-article-to-twitter')->everyFourHours();
Schedule::command('lcm:post-article-to-telegram')->everyFourHours();
Schedule::command('lcm:send-unverified-mails')->weeklyOn(1, '8:00');
Schedule::command('lcm:notify-pending-articles')->cron('8 0 */2 * *');
}

Schedule::command('lcm:delete-old-unverified-users')->daily();
Schedule::command('sitemap:blog-generate')->dailyAt('01:00');
Schedule::command('sitemap:discussion-generate')->dailyAt('01:10');
Schedule::command('sitemap:generate')->dailyAt('02:00');

0 comments on commit d4cfdaa

Please sign in to comment.