mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
load pieces_hash daily
This commit is contained in:
@@ -31,12 +31,12 @@ class Kernel extends ConsoleKernel
|
|||||||
$schedule->command('backup:cronjob')->everyMinute()->withoutOverlapping();
|
$schedule->command('backup:cronjob')->everyMinute()->withoutOverlapping();
|
||||||
$schedule->command('hr:update_status')->everyTenMinutes()->withoutOverlapping();
|
$schedule->command('hr:update_status')->everyTenMinutes()->withoutOverlapping();
|
||||||
$schedule->command('hr:update_status --ignore_time=1')->hourly()->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 () {
|
$schedule->command('claim:settle')->hourly()->when(function () {
|
||||||
return Carbon::now()->format('d') == '01';
|
return Carbon::now()->format('d') == '01';
|
||||||
})->withoutOverlapping();
|
})->withoutOverlapping();
|
||||||
$schedule->command('meilisearch:import')->weeklyOn(1, "03:00")->withoutOverlapping();
|
$schedule->command('meilisearch:import')->weeklyOn(1, "03:00")->withoutOverlapping();
|
||||||
|
$schedule->command('torrent:load_pieces_hash')->dailyAt("01:00")->withoutOverlapping();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.6');
|
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.6');
|
||||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-07-31');
|
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-08-04');
|
||||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||||
|
|||||||
Reference in New Issue
Block a user