正在显示
1 个修改的文件
包含
5 行增加
和
3 行删除
| @@ -60,7 +60,9 @@ class HotMail { | @@ -60,7 +60,9 @@ class HotMail { | ||
| 60 | $this->db->throw()->insert('hot_mail',['email'=>$e],false); | 60 | $this->db->throw()->insert('hot_mail',['email'=>$e],false); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | - }catch (Throwable $e){} | 63 | + }catch (Throwable $e){ |
| 64 | + | ||
| 65 | + } | ||
| 64 | } | 66 | } |
| 65 | 67 | ||
| 66 | } | 68 | } |
| @@ -124,11 +126,11 @@ $pm->addBatch(1,function (){ | @@ -124,11 +126,11 @@ $pm->addBatch(1,function (){ | ||
| 124 | 126 | ||
| 125 | include_once "../vendor/autoload.php"; | 127 | include_once "../vendor/autoload.php"; |
| 126 | 128 | ||
| 127 | - while(1){ | 129 | +// while(1){ |
| 128 | new HotMail(); | 130 | new HotMail(); |
| 129 | // 执行完了暂停5分钟在执行 | 131 | // 执行完了暂停5分钟在执行 |
| 130 | sleep(40); | 132 | sleep(40); |
| 131 | - } | 133 | +// } |
| 132 | 134 | ||
| 133 | },true); | 135 | },true); |
| 134 | 136 |
-
请 注册 或 登录 后发表评论