Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

akaunting/akaunting

9348 stars
1 code files
View akaunting/akaunting on GitHub

app/Console/Kernel.php

Open in GitHub
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
 
class Kernel extends ConsoleKernel
{
//
protected function schedule(Schedule $schedule)
{
if (!config('app.installed')) {
return;
}
 
$schedule_time = config('app.schedule_time');
 
$schedule->command('report:cache')->everySixHours();
$schedule->command('reminder:invoice')->dailyAt($schedule_time);
$schedule->command('reminder:bill')->dailyAt($schedule_time);
$schedule->command('recurring:check')->dailyAt($schedule_time);
$schedule->command('storage-temp:clear')->dailyAt('17:00');
}
//
protected function scheduleTimezone()
{
return config('app.timezone');
}
}

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.