server/src/app/Console/Kernel.php
author nowmad@nowmads-macbook-pro.local
Thu, 10 Dec 2015 16:57:10 +0100
changeset 45 b9adc23abd01
parent 2 00e2916104fe
child 24 de47e8f66e8b
permissions -rw-r--r--
update visualisation with sample values

<?php

namespace CorpusParole\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 = [
        'CorpusParole\Console\Commands\Inspire',
        'CorpusParole\Console\Commands\ImportCocoonRDF',
    ];

    /**
     * Define the application's command schedule.
     *
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
     */
    protected function schedule(Schedule $schedule)
    {
        $schedule->command('inspire')
                 ->hourly();
    }
}