marcinlawnik/shamir-secret-sharing-web

View on GitHub
app/Console/Kernel.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Laravel\Lumen\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
     */

    // Cron commands
    // https://laravel.com/docs/5.2/scheduling
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('cache:clear')->dailyAt('18:00');
    }
}