<?php

use App\Console\Commands\SettleDailyBudgets;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;

Artisan::command('inspire', function () {
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');

// Settle budget harian campaign: reset counter + rollover, 00:01 setiap hari.
Schedule::command(SettleDailyBudgets::class)->dailyAt('00:01')->withoutOverlapping();
