Exemple #1
0
 public function fire()
 {
     $a = KeywordController::daemon();
     foreach ($a as $key) {
         if ($key) {
             $this->curl_file_get_contents($key);
             $this->info('Pushed : ' . $key);
         } else {
             $this->info('No data to push!');
         }
     }
 }
 public function eksekusi()
 {
     $a = KeywordController::daemon();
     $b[] = '';
     foreach ($a as $key) {
         if ($key) {
             $this->curl_file_get_contents($key);
             $b[] = 'Pushed :' . $key;
         } else {
             $b[] = "No data to push";
         }
     }
     return \Response::json($b);
 }