feat(nginx-log): NginxLogClean 定时任务 + timer config 注册(完成 3 个 nginx 任务)

This commit is contained in:
augushong
2026-07-28 06:00:15 +08:00
parent 13b1313e92
commit 8eaa672ed6
3 changed files with 208 additions and 0 deletions

View File

@@ -29,4 +29,20 @@ return [
'concurrency' => 1,
'run_type' => 'auto',
],
[
'name' => 'nginx_log_aggregate',
'type' => 'site',
'target' => '/tools/timer.NginxLogStatAggregate/do',
'frequency' => 3600,
'concurrency' => 1,
'run_type' => 'auto',
],
[
'name' => 'nginx_log_clean',
'type' => 'site',
'target' => '/tools/timer.NginxLogClean/do',
'frequency' => 86400,
'concurrency' => 1,
'run_type' => 'auto',
],
];