Added filefix rescan

This commit is contained in:
2024-04-16 22:00:41 +09:30
parent a2ff2df9f3
commit ff7ab68a54
2 changed files with 91 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ class Rescan extends Command
->when($this->argument('days'),function($query) {
return $query->where('created_at','>=',Carbon::now()->subDays($this->argument('days'))->startOfDay());
})
->orderBy('datetime')
->cursor() as $eo) {
// Echomail hasnt been exported before