Skip to content

Commit 7fc57a9

Browse files
committed
Add prune command
1 parent ae89aef commit 7fc57a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"laravel/horizon": "^5.22",
2020
"laravel/sanctum": "^4.0",
2121
"laravel/tinker": "^2.9",
22-
"spatie/laravel-mailcoach": "^8.0"
22+
"spatie/laravel-mailcoach": "^8.13"
2323
},
2424
"require-dev": {
2525
"fakerphp/faker": "^1.23",

routes/console.php

+2
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@
2323
Schedule::command('mailcoach:send-email-list-summary-mail')->mondays()->at('9:00');
2424
Schedule::command('mailcoach:delete-old-unconfirmed-subscribers')->daily();
2525

26+
Schedule::command('mailcoach:prune')->dailyAt('3:00');
27+
2628
Schedule::command('horizon:snapshot')->everyFiveMinutes();

0 commit comments

Comments
 (0)