Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Script #144

Merged
merged 9 commits into from
Jun 28, 2024
Merged

Cleanup Script #144

merged 9 commits into from
Jun 28, 2024

Conversation

nicolemah99
Copy link
Collaborator

@nicolemah99 nicolemah99 commented Jun 25, 2024

This PR will:

  • Adds a cleanup script cleanup.sh to be run after archive_pipeline.sh
    • Removes working directory every time cleanup.sh is run
      • '.incomplete'
    • Removes zip files/.messages from level0 older than the retention_days for each source directory
    • Removes empty directories
    • can update to delete from working if needed
  • Updates archive_config.yml
    • Adds retention periods for every directory (currently in minutes)
    • enable_cleanup

…lists contents of source dir older than retention minutes
@nicolemah99 nicolemah99 self-assigned this Jun 25, 2024
@nicolemah99 nicolemah99 linked an issue Jun 25, 2024 that may be closed by this pull request
4 tasks
@nicolemah99 nicolemah99 marked this pull request as draft June 25, 2024 21:27
@nicolemah99 nicolemah99 marked this pull request as ready for review June 28, 2024 20:06
@nicolemah99 nicolemah99 merged commit 281358e into main Jun 28, 2024
1 check passed
@nicolemah99 nicolemah99 deleted the nicole/cleanup-script branch June 28, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Cleanup Script for Event Files and Working Directories
1 participant