server/src/app/Console/Kernel.php
changeset 1 01a844d292ac
child 2 00e2916104fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/app/Console/Kernel.php	Mon Jun 15 19:30:32 2015 +0200
@@ -0,0 +1,30 @@
+<?php namespace App\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 = [
+		'App\Console\Commands\Inspire',
+		'App\Console\Commands\ImportCocoonRDF',
+	];
+
+	/**
+	 * Define the application's command schedule.
+	 *
+	 * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
+	 * @return void
+	 */
+	protected function schedule(Schedule $schedule)
+	{
+		$schedule->command('inspire')
+				 ->hourly();
+	}
+
+}