|
...
|
...
|
@@ -39,15 +39,14 @@ class HtmlCollect extends Command |
|
|
|
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
// while (true) {
|
|
|
|
while (true) {
|
|
|
|
$this->start_collect();
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
protected function start_collect()
|
|
|
|
{
|
|
|
|
// $task_id = $this->get_task();
|
|
|
|
$task_id = '437_5995';
|
|
|
|
$task_id = $this->get_task();
|
|
|
|
if ($task_id === false) {
|
|
|
|
//所有项目采集完成
|
|
|
|
sleep(60);
|
...
|
...
|
|