From 71898bf5ec476f876056ec47c29a60d3f3b0cca0 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Fri, 23 Jun 2023 19:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scheduler.php | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/scheduler.php b/scheduler.php index 6ff34493..98806369 100644 --- a/scheduler.php +++ b/scheduler.php @@ -51,26 +51,20 @@ $scheduler->php($script, $bin, ['--task' => 'refund', '--action' => 'main']) $scheduler->php($script, $bin, ['--task' => 'sync_course_index', '--action' => 'main']) ->hourly(11); -$scheduler->php($script, $bin, ['--task' => 'sync_group_index', '--action' => 'main']) - ->hourly(17); - -$scheduler->php($script, $bin, ['--task' => 'sync_user_index', '--action' => 'main']) - ->hourly(23); - $scheduler->php($script, $bin, ['--task' => 'sync_article_index', '--action' => 'main']) - ->hourly(27); + ->hourly(13); $scheduler->php($script, $bin, ['--task' => 'sync_question_index', '--action' => 'main']) - ->hourly(29); + ->hourly(17); $scheduler->php($script, $bin, ['--task' => 'sync_course_score', '--action' => 'main']) - ->hourly(31); + ->hourly(19); $scheduler->php($script, $bin, ['--task' => 'sync_article_score', '--action' => 'main']) - ->hourly(33); + ->hourly(23); $scheduler->php($script, $bin, ['--task' => 'sync_question_score', '--action' => 'main']) - ->hourly(37); + ->hourly(29); $scheduler->php($script, $bin, ['--task' => 'clean_log', '--action' => 'main']) ->daily(3, 3);