This commit is contained in:
afiq
2021-02-09 11:25:16 +08:00
parent 5c6700ae22
commit 369ba4b22f
4 changed files with 163 additions and 110 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ class Kernel extends ConsoleKernel
* @var array
*/
protected $commands = [
//
Commands\resetRoleDaily::class,
];
/**
@@ -24,7 +24,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
$schedule->command('reset:dailyrole')->daily()->timezone('Asia/Kuala_Lumpur')->at('00:00');
}
/**