Feature #11582

[API] Delete old job/container logs in main server process, instead of rake tasks invoked from cron jobs

Added by Tom Clegg over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The API server comes with two rake tasks, db:delete_old_job_logs and db:delete_old_container_logs. They are intended to be invoked periodically from cron jobs, but the cron job setup is not documented in the install guide.

Instead of relying on cron jobs, API server should clean up job/container logs the same way it cleans up audit logs in source:services/api/lib/audit_logs.rb.

History

#1 Updated by Tom Clegg over 1 year ago

  • Description updated (diff)
  • Category set to API

#2 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF