Sindbad~EG File Manager
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel {
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule) {
//Deduct Yearly Account Maintenance Fee
$schedule->call(new \App\Cronjobs\YearlyMaintenanceFeePosting)->hourly();
}
/**
* Get the timezone that should be used by default for scheduled events.
*
* @return \DateTimeZone|string|null
*/
protected function scheduleTimezone()
{
$timeZone = get_option('timezone', 'Asia/Dhaka');
config(['app.timezone' => $timeZone ]);
return $timeZone;
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands() {
$this->load(__DIR__ . '/Commands');
require base_path('routes/console.php');
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists