Example #1
0
 public static function runCron()
 {
     @set_time_limit(0);
     $model = new self();
     //Get information from ACP options
     $model->getConfigurations();
     if (empty($model->allowedNodes)) {
         return false;
     }
     //Get all thread with valid up times and auto up configuration
     $model->getThreadAutoUp();
     //Start to process threads
     $model->upThread();
 }