{"definition_raw":"---\nid: cleanup-ccgram-uploads\ntitle: Prune ccgram photo/document uploads older than 14 days\nschedule: \"30 3 * * 0\"\ntimeout: 300\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"CCGRAM_RETENTION_DAYS=14 python3 /home/lucienne/workspace/scripts/cleanup_ccgram_uploads.py\"\ntags: [maintenance, ccgram, housekeeping]\nruntime_profile: direct_python\n---\n\n**OVERRIDES runtime profile:** uses `direct_python` because this is a\ndeterministic cleanup script with no Claude/Codex or LLM API invocation.\n\nWeekly Sunday 03:30 UTC (05:30 SAST). Walks every `.ccgram-uploads/` directory\nunder ~/workspace and ~ and deletes files older than 14 days.\n\nccgram saves every Telegram photo/document upload into the session cwd's\n`.ccgram-uploads/` so Claude can read it. Without cleanup these accumulate\nindefinitely. 14d retention is enough for any in-flight ticket reference.\n\nTunable via env: `CCGRAM_RETENTION_DAYS` in the command line above.\n","id":"cleanup-ccgram-uploads","last_run":{"duration_s":6.187745,"log_path":"/home/lucienne/workspace/logs/task-runs/cleanup-ccgram-uploads/387834.log","output":"ccgram-uploads cleanup: removed 25 files (1.9 MB) older than 14d across 3 dirs\n","started_at":"2026-06-07T03:30:00.531660+02:00","status":"completed"},"next_run":"2026-06-14 03:30","next_run_iso":"2026-06-14T03:30:00+02:00","runs":[{"duration_s":6.187745,"finished_at":"2026-06-07T03:30:06.737533+02:00","id":387834,"log_path":"/home/lucienne/workspace/logs/task-runs/cleanup-ccgram-uploads/387834.log","output":"ccgram-uploads cleanup: removed 25 files (1.9 MB) older than 14d across 3 dirs\n","started_at":"2026-06-07T03:30:00.531660+02:00","status":"completed","task_id":"cleanup-ccgram-uploads","task_name":"Prune ccgram photo/document uploads older than 14 days"}],"runs_limit":20,"schedule":"30 3 * * 0","schedule_label":{"description":"Sun at 03:30","is_custom":false,"label":"Weekly (Sun)","sort":6,"sort_time":"03:30"},"stats":{"avg_duration":6.187745,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"**OVERRIDES runtime profile:** uses `direct_python` because this is a\ndeterministic cleanup script with no Claude/Codex or LLM API invocation.\n\nWeekly Sunday 03:30 UTC (05:30 SAST). Walks every `.ccgram-uploads/` directory\nunder ~/workspace and ~ and deletes files older than 14 days.\n\nccgram saves every Telegram photo/document upload into the session cwd's\n`.ccgram-uploads/` so Claude can read it. Without cleanup these accumulate\nindefinitely. 14d retention is enough for any in-flight ticket reference.\n\nTunable via env: `CCGRAM_RETENTION_DAYS` in the command line above.","_file":"cleanup-ccgram-uploads.md","_path":"/home/lucienne/workspace/tasks/cleanup-ccgram-uploads.md","command":"CCGRAM_RETENTION_DAYS=14 python3 /home/lucienne/workspace/scripts/cleanup_ccgram_uploads.py","enabled":true,"id":"cleanup-ccgram-uploads","notify_on":"failure","retry":false,"run_as":"shell","runtime_profile":"direct_python","schedule":"30 3 * * 0","tags":["maintenance","ccgram","housekeeping"],"timeout":300,"title":"Prune ccgram photo/document uploads older than 14 days"}}
