Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Kernel.php
Show All 13 Lines | class Kernel extends ConsoleKernel | ||||
* | * | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
protected function schedule(Schedule $schedule) | protected function schedule(Schedule $schedule) | ||||
{ | { | ||||
// This command imports countries and the current set of IPv4 and IPv6 networks allocated to countries. | // This command imports countries and the current set of IPv4 and IPv6 networks allocated to countries. | ||||
$schedule->command('data:import')->dailyAt('05:00'); | $schedule->command('data:import')->dailyAt('05:00'); | ||||
// This notifies users about coming password expiration | |||||
$schedule->command('password:retention')->dailyAt('06:00'); | |||||
// These apply wallet charges | |||||
$schedule->command('wallet:charge')->dailyAt('00:00'); | $schedule->command('wallet:charge')->dailyAt('00:00'); | ||||
$schedule->command('wallet:charge')->dailyAt('04:00'); | $schedule->command('wallet:charge')->dailyAt('04:00'); | ||||
$schedule->command('wallet:charge')->dailyAt('08:00'); | $schedule->command('wallet:charge')->dailyAt('08:00'); | ||||
$schedule->command('wallet:charge')->dailyAt('12:00'); | $schedule->command('wallet:charge')->dailyAt('12:00'); | ||||
$schedule->command('wallet:charge')->dailyAt('16:00'); | $schedule->command('wallet:charge')->dailyAt('16:00'); | ||||
$schedule->command('wallet:charge')->dailyAt('20:00'); | $schedule->command('wallet:charge')->dailyAt('20:00'); | ||||
// this is a laravel 8-ism | // this is a laravel 8-ism | ||||
Show All 22 Lines |