• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / cronn / 16771526735
81%
master: 75%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.11.0
DEFAULT BRANCH: master
Ran 06 Aug 2025 08:21AM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Aug 2025 08:20AM UTC coverage: 80.593% (+0.8%) from 79.824%
16771526735

push

github

umputun
feat: add conditional job execution based on system resources

Implement conditional execution for cron jobs based on system metrics:
- CPU usage threshold (cpu_below)
- Memory usage threshold (memory_below)
- Load average threshold (load_avg_below)
- Disk free space threshold (disk_free_above)
- Custom script execution for complex conditions

Features:
- Configurable max postpone duration and check intervals
- Semaphore-based concurrency control for condition checks
- CLI option --max-concurrent-checks (default: 10)
- Per-job repeater configuration support
- JSON schema validation for YAML configuration
- Comprehensive test coverage

The conditions package uses gopsutil v4 for reliable cross-platform
system metrics collection. Jobs can be postponed until conditions
are met or max postpone duration is reached.

98 of 114 new or added lines in 3 files covered. (85.96%)

951 of 1180 relevant lines covered (80.59%)

9.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
44.0
-0.3% app/main.go
5
82.86
2.24% app/service/service.go
10
83.49
app/conditions/conditions.go
Jobs
ID Job ID Ran Files Coverage
1 16771526735.1 06 Aug 2025 08:21AM UTC 13
80.59
GitHub Action Run
Source Files on build 16771526735
  • Tree
  • List 13
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 79b03fa2 on github
  • Prev Build on conditional-execution (#16769839539)
  • Next Build on conditional-execution (#16771623005)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc