Tomacco

Docs Operation reference storage operations

storage operations#

1 operation. Generated from assets/operations.json; all areas.

storage.prune#

Clean up old jobs and reports

List, and with apply remove, what Tomacco keeps of finished work under its data directory: records and logs of jobs that ended before older_than_days, log files without a job, and report directories under reports/. A dry run by default; also reports the size of each top-level entry of the data directory. Never touches queued or running jobs, emulators, SDKs, the virtual iOS device, settings, or artifacts in projects.

Annotations: destructive, idempotent, closed world.

ArgumentTypeRequiredDefaultDetails
older_than_daysnumber300 to 3650
max_job_log_mbinteger0 to 1000000; Also remove the oldest finished jobs until their logs take at most this much
includearray of string["jobs","reports"]items one of jobs, reports; at least 1 item
applybooleanfalseRemove the candidates; without it nothing is changed
tomaccoctl call storage.prune

View this page as Markdown on GitHub