|
...
|
...
|
@@ -51,7 +51,7 @@ class GeneratePage extends Command |
|
|
|
{
|
|
|
|
$noticeModel = new NoticeLog();
|
|
|
|
while (true){
|
|
|
|
$noticeInfo = $noticeModel->read(['status'=>0,'type'=>$noticeModel::GENERATE_PAGE]);
|
|
|
|
$noticeInfo = $noticeModel->read(['status'=>0,'type'=>$noticeModel::GENERATE_PAGE,'start_at'=>['<=',date('Y-m-d H:i:s')]]);
|
|
|
|
if (empty($noticeInfo)) {
|
|
|
|
sleep(10);
|
|
|
|
continue;
|
...
|
...
|
|