Skip to content

Add scheduled/daemon mode for continuous cleanup #5

@TheStack-ai

Description

@TheStack-ai

Context

Users currently run zclean manually. A daemon mode that periodically scans and cleans would be more convenient.

What to do

Add zclean --daemon or zclean --interval 60 that runs the scan every N seconds in the background.

Considerations

  • Should log to a file
  • Graceful shutdown on SIGTERM/SIGINT
  • Option to set interval

Difficulty: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions