| 
...
 | 
...
 | 
@@ -60,7 +60,9 @@ class HotMail { | 
| 
 | 
 | 
                         $this->db->throw()->insert('hot_mail',['email'=>$e],false);
 | 
| 
 | 
 | 
                     }
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                 }catch (Throwable $e){}
 | 
| 
 | 
 | 
                 }catch (Throwable $e){
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                 }
 | 
| 
 | 
 | 
             }
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
         }
 | 
| 
...
 | 
...
 | 
@@ -124,11 +126,11 @@ $pm->addBatch(1,function (){ | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
     include_once "../vendor/autoload.php";
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
     while(1){
 | 
| 
 | 
 | 
 //    while(1){
 | 
| 
 | 
 | 
         new HotMail();
 | 
| 
 | 
 | 
         // 执行完了暂停5分钟在执行
 | 
| 
 | 
 | 
         sleep(40);
 | 
| 
 | 
 | 
     }
 | 
| 
 | 
 | 
 //    }
 | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
 },true);
 | 
| 
 | 
 | 
 
 | 
...
 | 
...
 | 
 |