Helper to periodically purge files and history from Klipper instance using the Moonraker API
526
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.
$ docker run --name voron2 -e MOONRAKER_URL="http://10.0.0.242:7125" ironaegis/klipper-purge
-e FILE_PURGE_ENABLED="false"
Defaults to true. Disables the execution of file purge.
-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.
-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.
-e FILE_PURGE_EXCLUDE_QUEUED="false"
Defaults to true. Determines if files that are included in the Job Queue should not be deleted.
-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
Content type
Image
Digest
sha256:b175ec108…
Size
77.6 MB
Last updated
over 1 year ago
docker pull ironaegis/klipper-purge