Some checks failed
Tests / e2e (pull_request) Successful in 49s
Docker Build and Publish / build-and-push (pull_request) Has been skipped
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Successful in 15s
Contributor Attribution Check / check-attribution (pull_request) Failing after 14s
Tests / test (pull_request) Failing after 18m24s
Part of #890
39 lines
1023 B
Markdown
39 lines
1023 B
Markdown
# Cron Job Audit — #890
|
|
|
|
## Problem
|
|
|
|
9 of 69 cron jobs have zero completions. They waste scheduler cycles.
|
|
|
|
## Dead Jobs Identified
|
|
|
|
| Job | Schedule | Completions | Action |
|
|
|-----|----------|-------------|--------|
|
|
| exp-swarm-pipeline | every 10 min | 0 | disable |
|
|
| exp-music-generator | every 2h | 0 | disable |
|
|
| exp-paper-citations | every 3h | 0 | disable |
|
|
| exp-gbrain-patterns | every 2h | 0 | disable |
|
|
| exp-infra-hardening | every 2h | 0 | disable |
|
|
| gemma4-multimodal-burn | every 1h | 0 | disable |
|
|
| morning-paper-report | daily | 0 | disable |
|
|
| overnight-collector | every 15 min | 0 | disable |
|
|
| morning-experiment-report | daily | 0 | disable |
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Audit: show dead jobs
|
|
python scripts/cron_audit.py
|
|
|
|
# Dry run: preview changes
|
|
python scripts/cron_audit.py --disable --dry-run
|
|
|
|
# Disable dead jobs
|
|
python scripts/cron_audit.py --disable
|
|
|
|
# Delete dead jobs
|
|
python scripts/cron_audit.py --delete
|
|
|
|
# Find jobs with no runs in 7 days
|
|
python scripts/cron_audit.py --older-than 7d
|
|
```
|