<?php

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');

Schedule::command('jobs:sync-sources')
    ->hourly()
    ->withoutOverlapping(30);

Schedule::command('jobs:send-daily-alerts')
    ->dailyAt('09:00')
    ->withoutOverlapping(60);

Schedule::command('applications:send-follow-up-reminders')
    ->dailyAt('08:00')
    ->withoutOverlapping(60);

Schedule::command('remotematch:heartbeat')
    ->everyFiveMinutes()
    ->withoutOverlapping(5);
