Back
Home
Board
Work
Overview
Board
Tasks
Team
OVERRIDES runtime profile: uses direct_python (plain Python, no model) because the command chain never invokes the claude CLI or any LLM API — pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).
Nightly pruning of .tmux.log and mc-worker-*-stream.log files older than 7 days.
Prevents unbounded disk growth (MC-3073).
Task Definition
tasks/mc-prune-logs.md
Save Definition
Runtime profile
(inherit scheduler default)
claude_anthropic
claude_sonnet_medium
claude_opus_medium
claude_opus_1m_medium
claude_opus_1m_high
claude_glm
claude_kimi
claude_minimax
kimi_cli
codex
gemini_cli
glm_api
kimi_api
minimax_api
openai_api
direct_gemini
direct_anthropic_sdk
direct_mixed
direct_python
direct_shell
direct_no_llm
direct
direct_spotify
grok_on_sub
Notify destination
(default — script-defined)
Elmar DM
Elmar DM: F1 topic
Forum: General
Forum: Home
Forum: Life Manager
Forum: Work
Forum: Mission Control
Forum: Research
Forum: Trading
Forum: Trading
Forum: Scraper
python3 /home/lucienne/workspace/PKA/scripts/prune_logs.py
Edit Schedule
×
Frequency
Every Minute
Every N Minutes
Hourly
Every N Hours
Daily
Weekdays
Weekly
Monthly
Custom (cron)
Every N minutes
Day of Week
Sunday Monday Tuesday
Wednesday Thursday Friday Saturday
Day of Month
Result:
Cancel
Save
infrastructure
mission-control
cleanup
Run Now
Run History (8)
All
Failed
Completed
Timeout
Started Finished Status Duration Output Log
2h ago
2h ago
completed
1s
Pruned 5634 log files (saved 1.1 MB)
View log
1d ago
1d ago
completed
1s
Pruned 5583 log files (saved 1.5 MB)
View log
2d ago
2d ago
completed
1s
Pruned 5408 log files (saved 4.9 MB)
View log
3d ago
3d ago
completed
1s
Pruned 5934 log files (saved 22.2 MB)
View log
4d ago
4d ago
completed
1s
Pruned 6795 log files (saved 4.8 MB)
View log
5d ago
5d ago
completed
1s
Pruned 6414 log files (saved 1.7 MB)
View log
6d ago
6d ago
completed
1s
Pruned 6040 log files (saved 8.3 MB)
View log
7d ago
7d ago
completed
1s
Pruned 8317 log files (saved 16.3 MB)
View log
Comments (0)
←