Sign inSign up

ironaegis/klipper-purge

By ironaegis

•Updated almost 2 years ago

Helper to periodically purge files and history from Klipper instance using the Moonraker API

Image
Integration & delivery
0

2.7K

ironaegis/klipper-purge repository overview

⁠Quick reference

⁠What is Klipper-Purge?

Klipper-Purge is a light weight scheduled service designed to clear Klipper instances of files that are out of date and are not queued or currently printing.

⁠How to use this image

$ docker run --name voron2 -e MOONRAKER_URL="http://10.0.0.242:7125" ironaegis/klipper-purge

⁠Disable file purge

-e FILE_PURGE_ENABLED="false"

Defaults to true. Disables the execution of file purge.

⁠Run file purge on initial startup

-e FILE_PURGE_RUN_ON_STARTUP="true"

Defaults to true. Will run the file purge service upon image startup rather than waiting for schedule to trigger.

⁠Set the file purge schedule

-e FILE_PURGE_SCHEDULE="0 0 6 ? * *"

Default to 0 0 3 ? * * (Daily at 3 AM). Use CRON expression to set when and how often the file purge service should execute. See here⁠ for more examples.

⁠Exclude file that are in Klipper's job queue

-e FILE_PURGE_EXCLUDE_QUEUED="false"

Defaults to true. Determines if files that are included in the Job Queue should not be deleted.

⁠Delete files older than

-e FILE_PURGE_OLDER_THAN="3"

Defaults to 7. Delete files that have not been modifed since Current execution time minus FILE_PURGE_OLDER_THAN

Tag summary

Content type

Image

Digest

sha256:b175ec108…

Size

77.6 MB

Last updated

almost 2 years ago

docker pull ironaegis/klipper-purge