{"definition_raw":"---\nid: mc-backup-integrity\ntitle: MC Backup Integrity Check\ndescription: Weekly SQLite PRAGMA integrity_check on latest MC backup\nschedule: \"0 9 * * 1\"\ntimeout: 60\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"python3 /home/lucienne/workspace/mc_backup_integrity.py\"\ntags: [mission-control, backup, maintenance]\nruntime_profile: direct_python\n---\n**OVERRIDES runtime profile:** uses `direct_python` (plain Python, no model) because the command chain never invokes the `claude` CLI or any LLM API \u2014 pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).\n\nRuns every Monday at 09:00 SAST. Finds the most recent mc.db backup, copies it to /tmp,\nruns PRAGMA integrity_check, and alerts via Telegram if corrupt or older than 25 hours.\n","id":"mc-backup-integrity","last_run":{"duration_s":3.813782,"log_path":"/home/lucienne/workspace/logs/task-runs/mc-backup-integrity/393159.log","output":"OK: mc-db-2026-06-08.db.gz passed integrity check (age 7.6h).\n","started_at":"2026-06-08T09:05:58.549098+02:00","status":"completed"},"next_run":"2026-06-15 09:00","next_run_iso":"2026-06-15T09:00:00+02:00","runs":[{"duration_s":3.813782,"finished_at":"2026-06-08T09:06:02.366762+02:00","id":393159,"log_path":"/home/lucienne/workspace/logs/task-runs/mc-backup-integrity/393159.log","output":"OK: mc-db-2026-06-08.db.gz passed integrity check (age 7.6h).\n","started_at":"2026-06-08T09:05:58.549098+02:00","status":"completed","task_id":"mc-backup-integrity","task_name":"MC Backup Integrity Check"}],"runs_limit":20,"schedule":"0 9 * * 1","schedule_label":{"description":"Mon at 09:00","is_custom":false,"label":"Weekly (Mon)","sort":6,"sort_time":"09:00"},"stats":{"avg_duration":3.813782,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"**OVERRIDES runtime profile:** uses `direct_python` (plain Python, no model) because the command chain never invokes the `claude` CLI or any LLM API \u2014 pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).\n\nRuns every Monday at 09:00 SAST. Finds the most recent mc.db backup, copies it to /tmp,\nruns PRAGMA integrity_check, and alerts via Telegram if corrupt or older than 25 hours.","_file":"mc-backup-integrity.md","_path":"/home/lucienne/workspace/tasks/mc-backup-integrity.md","command":"python3 /home/lucienne/workspace/mc_backup_integrity.py","description":"Weekly SQLite PRAGMA integrity_check on latest MC backup","enabled":true,"id":"mc-backup-integrity","notify_on":"failure","retry":false,"run_as":"shell","runtime_profile":"direct_python","schedule":"0 9 * * 1","tags":["mission-control","backup","maintenance"],"timeout":60,"title":"MC Backup Integrity Check"}}
