load pieces_hash daily

This commit is contained in:
lgb
2023-08-04 13:22:27 +08:00
parent e2db871ad9
commit 22b23c4a45
2 changed files with 3 additions and 3 deletions

View File

@@ -31,12 +31,12 @@ class Kernel extends ConsoleKernel
$schedule->command('backup:cronjob')->everyMinute()->withoutOverlapping();
$schedule->command('hr:update_status')->everyTenMinutes()->withoutOverlapping();
$schedule->command('hr:update_status --ignore_time=1')->hourly()->withoutOverlapping();
$schedule->command('user:delete_expired_token')->dailyAt('04:00');
$schedule->command('user:delete_expired_token')->dailyAt('04:00')->withoutOverlapping();
$schedule->command('claim:settle')->hourly()->when(function () {
return Carbon::now()->format('d') == '01';
})->withoutOverlapping();
$schedule->command('meilisearch:import')->weeklyOn(1, "03:00")->withoutOverlapping();
$schedule->command('torrent:load_pieces_hash')->dailyAt("01:00")->withoutOverlapping();
}
/**