You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< ? php
namespace App\Console ;
use Illuminate\Console\Scheduling\Schedule ;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel ;
class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule ( Schedule $schedule )
{
// 每日 00:10: 长期访客昨日及以前已离厂的, 重置为待进厂
$schedule -> command ( 'visit:reset-long-term-daily-status' ) -> dailyAt ( '00:10' );
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands ()
{
$this -> load ( __DIR__ . '/Commands' );
require base_path ( 'routes/console.php' );
}
}