mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
calim schedule
This commit is contained in:
@@ -13,14 +13,14 @@ class ClaimSettle extends Command
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'claim:settle {--uid=} {--force=}';
|
protected $signature = 'claim:settle {--uid=} {--force=} {--test=}';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $description = 'Claim settle, options: --uid, --force';
|
protected $description = 'Claim settle, options: --uid, --force, --test';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new command instance.
|
* Create a new command instance.
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ class Kernel extends ConsoleKernel
|
|||||||
$schedule->command('hr:update_status')->everyMinute();
|
$schedule->command('hr:update_status')->everyMinute();
|
||||||
$schedule->command('hr:update_status --ignore_time=1')->hourly();
|
$schedule->command('hr:update_status --ignore_time=1')->hourly();
|
||||||
$schedule->command('user:delete_expired_token')->dailyAt('04:00');
|
$schedule->command('user:delete_expired_token')->dailyAt('04:00');
|
||||||
|
$schedule->command('claim:settle')->monthlyOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user