You're offline — showing cached data

Clean up old ticket messages

mc-message-cleanup
2026-06-13 06:09:54 SAST
← Back to Tasks

OVERRIDES runtime profile: uses direct_python (plain Python, no model) because the inline python call runs models.cleanup_old_ticket_messages() — pure sqlite cleanup, no claude CLI, no LLM API (MC-4942 U12 sweep).

Weekly cleanup of ticket_messages for tickets completed more than 30 days ago. Runs Sunday at 03:00 SAST. Prevents unbounded table growth (MC-304).

Sun at 03:000 3 * * 0
Yes
shell
60s
No
in 21h (2026-06-14 03:00)

Task Definition

tasks/mc-message-cleanup.md
shell
set
No
No
python3 -c "import sys; sys.path.insert(0, '/home/lucienne/workspace/mission-control'); from models import cleanup_old_ticket_messages; deleted = cleanup_old_ticket_messages(30); print(f'Deleted {deleted} old ticket messages')"

Edit Schedule

Result:
1
Runs (7d)
1
Completed
0
Failed
0
Timeout
100%
Success (7d)
0s
Avg Duration
infrastructure mission-control cleanup

Run History (1)

StartedFinishedStatusDurationOutputLog
6d ago 6d ago completed 0s
Deleted 485 old ticket messages
View log

Comments (0)

No comments yet — add instructions for Luci
Help