mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-23 03:50:56 +08:00
清理无用的计划任务
This commit is contained in:
parent
cf80b3c878
commit
71898bf5ec
@ -51,26 +51,20 @@ $scheduler->php($script, $bin, ['--task' => 'refund', '--action' => 'main'])
|
|||||||
$scheduler->php($script, $bin, ['--task' => 'sync_course_index', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_course_index', '--action' => 'main'])
|
||||||
->hourly(11);
|
->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'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_article_index', '--action' => 'main'])
|
||||||
->hourly(27);
|
->hourly(13);
|
||||||
|
|
||||||
$scheduler->php($script, $bin, ['--task' => 'sync_question_index', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_question_index', '--action' => 'main'])
|
||||||
->hourly(29);
|
->hourly(17);
|
||||||
|
|
||||||
$scheduler->php($script, $bin, ['--task' => 'sync_course_score', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_course_score', '--action' => 'main'])
|
||||||
->hourly(31);
|
->hourly(19);
|
||||||
|
|
||||||
$scheduler->php($script, $bin, ['--task' => 'sync_article_score', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_article_score', '--action' => 'main'])
|
||||||
->hourly(33);
|
->hourly(23);
|
||||||
|
|
||||||
$scheduler->php($script, $bin, ['--task' => 'sync_question_score', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'sync_question_score', '--action' => 'main'])
|
||||||
->hourly(37);
|
->hourly(29);
|
||||||
|
|
||||||
$scheduler->php($script, $bin, ['--task' => 'clean_log', '--action' => 'main'])
|
$scheduler->php($script, $bin, ['--task' => 'clean_log', '--action' => 'main'])
|
||||||
->daily(3, 3);
|
->daily(3, 3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user