Skip to content

Releases: fredrikaverpil/tractor-purge

v2.1.0

10 Apr 16:20
64d8d74
Compare
Choose a tag to compare

More reliably remove cmd-logs.

The logic now keeps whatever cmd-logs are within the given timeframe. Everything else is deleted on disk. This effectively means all old cmd-logs which may hang around on disk without a corresponding jid in the db is now also deleted.

v2.0.0

10 Apr 16:17
Compare
Choose a tag to compare

List jids only, to avoid non-ascii character encoding error.

v2.0.0RC1

20 Jan 11:13
Compare
Choose a tag to compare
v2.0.0RC1 Pre-release
Pre-release

Changed:

  • Intentionally not backwards-compatible with v1.0.0
  • Renamed arguments
  • Added possibility to delete cmd-logs and jobs separately by defining two commands
  • Uses --limit 0 which avoids capping returned lists to 2500 items
  • Shebang removed from script
  • Clarified deletion vs archiving in help and README
  • Added crontab example to README
  • Script waits for 10 seconds before executing, showing a summary and allowing ctrl+c to abort

Bugs fixed:

  • Now properly deletes/archives jobs

Notes:

This is a draft release and will be released as v2.0.0 if everything runs smooth in production for a week.

tractor-purge

04 Feb 13:17
Compare
Choose a tag to compare

Please see README for installation/usage.