Issue Summary:
Create a cleanup script that systematically removes outdated event files and temporary working directories. This script should be configurable, allowing users to specify how long files should be retained and which directories to clean up.
Objectives:
Integrate Cleanup into Archive Process:
Implement the cleanup process as part of the archive pipeline, with an option to enable or disable it via a configuration setting.
Configurable Retention Period:
Allow the user to specify how long files should be kept. The default retention period should be 30 days.
Clean Up Old Event Zip Files:
Remove zipped event files that are older than the specified retention period.
Clean Up Working Directories:
Remove old files and directories within the working directory, including any .incomplete and temporary files or folders.
Proposed Solution:
Configuration Options:
Add a configuration setting to enable or disable the cleanup process.
Add a setting to specify the retention period (default: 30 days).
Issue Summary: Create a cleanup script that systematically removes outdated event files and temporary working directories. This script should be configurable, allowing users to specify how long files should be retained and which directories to clean up.
Objectives:
Integrate Cleanup into Archive Process:
Configurable Retention Period:
Clean Up Old Event Zip Files:
Clean Up Working Directories:
Proposed Solution:
camio-meter-streams/cli_meter/cleanup.sh
.incomplete
and temporary files/folders.Example Config:
Tasks: