mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-04 05:15:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			582 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			582 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php namespace FireflyIII\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 = [
 | 
						|
		'FireflyIII\Console\Commands\Inspire',
 | 
						|
	];
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Define the application's command schedule.
 | 
						|
	 *
 | 
						|
	 * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
 | 
						|
	 * @return void
 | 
						|
	 */
 | 
						|
	protected function schedule(Schedule $schedule)
 | 
						|
	{
 | 
						|
		$schedule->command('inspire')
 | 
						|
				 ->hourly();
 | 
						|
	}
 | 
						|
 | 
						|
}
 |