github umputun/cronn v1.7.0
Version 1.7.0

latest releases: v1.12.3, v1.12.2, v1.12.1...
3 months ago

New Features

Enhanced Manual Job Execution

The web dashboard now supports advanced manual job execution capabilities:

  • Edit Commands Before Execution: Modify job commands on-the-fly for one-off executions without changing the original configuration
  • Custom Date Override: Provide a custom date (YYYYMMDD format) to override template variables like {{.YYYYMMDD}} for specific runs
  • Execution History Tracking: View the last 50 job executions with both the original command and what was actually executed
  • Visual Indicators: Star icons highlight runs where commands were customized

This is particularly useful for:

  • Testing modified commands before updating the crontab
  • Running backfill jobs for specific dates
  • Troubleshooting and debugging job issues
  • One-time variations of regular jobs

Improvements

  • Database Migration: Automatic migration adds executed_command column to existing databases with zero downtime
  • Timezone Handling: Custom dates now parse in local timezone, preventing off-by-one-day errors
  • Repeater Preservation: Manual runs correctly preserve retry logic from original job configuration
  • Code Quality: Refactored duplicated code (eliminated ~170 lines), improving maintainability
  • Frontend Organization: JavaScript moved to separate file for better code organization

Bug Fixes

  • Fixed template detection using robust regex pattern instead of string concatenation
  • Fixed loop variable address bug in job lookup (classic Go gotcha)

Technical Details

  • Added comprehensive test coverage for new features
  • All changes backward compatible with existing configurations
  • Coverage increased to 74.847%

Full Changelog: v1.6.1...v1.7.0

Don't miss a new cronn release

NewReleases is sending notifications on new releases.