photo/app/Console/Kernel.php

39 lines
936 B
PHP
Raw Normal View History

2016-06-20 13:35:59 +00:00
<?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 = [
2018-01-11 12:59:53 +00:00
Commands\CatalogScan::class,
Commands\CatalogDump::class,
2016-07-04 06:00:33 +00:00
Commands\PhotoImport::class,
Commands\PhotoMove::class,
2018-01-11 12:59:53 +00:00
Commands\PhotoScanAll::class,
2016-07-04 06:00:33 +00:00
Commands\PhotoUpdate::class,
Commands\VideoImport::class,
Commands\VideoMove::class,
2018-01-11 12:59:53 +00:00
Commands\VideoScanAll::class,
2016-06-20 13:35:59 +00:00
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')
// ->hourly();
}
}