Skip to content

Allow for deleting exports #1202

Description

@maxkadel

Create a rake task that will delete old exports

Acceptance criteria

  • Has a configurable TTL for completed import directories (e.g., delete after 30 days if the associated exporter run has a terminal status: Complete or Failed)
  • Ensure in-progress exports are not cleaned up
  • Files are deleted
  • Database records are deleted

Implementation notes

Should probably kick of a background job or jobs, rather than trying to do it in the terminal session

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions