proxmox-backup/proxmox-rest-server/src
Dominik Csapak de55fff226 rest-server: add cleanup_old_tasks
this is a helper that removes task log files that are not referenced
by the task archive anymore

it gets the oldest task archive file, gets the first endtime (the
oldest) and removes all files in the taskdir where the mtime is older
than that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-10-08 06:38:52 +02:00
..
api_config.rs proxmox-rest-server: use new ServerAdapter trait instead of callbacks 2021-10-05 11:13:10 +02:00
command_socket.rs rename CommandoSocket to CommandSocket 2021-09-30 12:52:35 +02:00
compression.rs move src/tools/compression.rs to proxmox-rest-server crate 2021-09-21 08:46:41 +02:00
daemon.rs rest: daemon: group systemd FFI together 2021-10-02 11:45:34 +02:00
environment.rs rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
file_logger.rs proxmox-rest-server: cleanup FileLogger docs 2021-09-30 10:51:31 +02:00
formatter.rs ExtJsFormatter: use ParameterError to correctly compute 'errors' 2021-09-28 10:19:55 +02:00
h2service.rs proxmox-rest-server: cleanup formatter, improve docs 2021-09-28 07:45:50 +02:00
lib.rs proxmox-rest-server: use new ServerAdapter trait instead of callbacks 2021-10-05 11:13:10 +02:00
rest.rs proxmox-rest-server: pass owned RestEnvironment to get_index 2021-10-05 11:12:53 +02:00
state.rs proxmox-rest-server: improve docs 2021-09-30 12:29:15 +02:00
worker_task.rs rest-server: add cleanup_old_tasks 2021-10-08 06:38:52 +02:00