Skip to content

Commit

Permalink
Add prune command
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Nov 26, 2024
1 parent ae89aef commit 7fc57a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"laravel/horizon": "^5.22",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"spatie/laravel-mailcoach": "^8.0"
"spatie/laravel-mailcoach": "^8.13"
},
"require-dev": {
"fakerphp/faker": "^1.23",
Expand Down
2 changes: 2 additions & 0 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@
Schedule::command('mailcoach:send-email-list-summary-mail')->mondays()->at('9:00');
Schedule::command('mailcoach:delete-old-unconfirmed-subscribers')->daily();

Schedule::command('mailcoach:prune')->dailyAt('3:00');

Schedule::command('horizon:snapshot')->everyFiveMinutes();

0 comments on commit 7fc57a9

Please sign in to comment.