예제 #1
0
파일: Kernel.php 프로젝트: roslairy/nofetch
 /**
  * Define the application's command schedule.
  *
  * @param \Illuminate\Console\Scheduling\Schedule $schedule        	
  * @return void
  */
 protected function schedule(Schedule $schedule)
 {
     $schedule->call(function () {
         $manager = new NoFManager();
         $manager->run();
     })->cron('* * * * *');
 }
예제 #2
0
파일: Test.php 프로젝트: roslairy/nofetch
 public function test1()
 {
     $manager = new NoFManager();
     $manager->run();
 }