File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,6 @@ public function handle(): void
51
51
->whereNull ('release_year ' )
52
52
->get ();
53
53
54
- $ withyear = Torrent::withoutGlobalScope (ApprovedScope::class)
55
- ->whereNotNull ('release_year ' )
56
- ->count ();
57
-
58
- $ withoutyear = Torrent::withoutGlobalScope (ApprovedScope::class)
59
- ->whereNull ('release_year ' )
60
- ->count ();
61
-
62
- $ this ->alert (sprintf ('%s Torrents Already Have A Release Year Value! ' , $ withyear ));
63
- $ this ->alert (sprintf ('%s Torrents Are Missing A Release Year Value! ' , $ withoutyear ));
64
-
65
54
foreach ($ torrents as $ torrent ) {
66
55
$ meta = null ;
67
56
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ protected function schedule(Schedule $schedule): void
56
56
$ schedule ->command ('auto:refund_download ' )->daily ();
57
57
$ schedule ->command ('auto:torrent_balance ' )->hourly ();
58
58
$ schedule ->command ('auth:clear-resets ' )->daily ();
59
+ $ schedule ->command ('fetch:release_years ' )->everyTenMinutes ();
59
60
//$schedule->command('auto:ban_disposable_users')->weekends();
60
61
//$schedule->command('backup:clean')->daily();
61
62
//$schedule->command('backup:run --only-db')->daily();
You can’t perform that action at this time.
0 commit comments