mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(nginx-log): NginxLogClean 定时任务 + timer config 注册(完成 3 个 nginx 任务)
This commit is contained in:
@@ -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',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user