server/src/app/Console/Kernel.php
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:22:17 +0100
changeset 70 ad554d876c81
parent 2 00e2916104fe
child 24 de47e8f66e8b
permissions -rw-r--r--
remove model to use the general one the application fetch on the first load

<?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();
    }
}