Skip to main content

Dkron v4.0.9 Release - Enhanced Scheduling and Control

· 4 min read
The Dkron Team

We're pleased to announce the upcoming release of Dkron v4.0.9! This release brings several powerful new features and important fixes that enhance job scheduling control, resource management, and system reliability.

What's New in Dkron v4.0.9?

Schedule Jobs with Precise Start Times

One of the most requested features is now here! The new starts_at field allows you to schedule jobs to begin execution at a specific date and time. This is perfect for one-time events, maintenance windows, or any scenario where you need precise control over when a job becomes active.

{
"name": "maintenance-job",
"schedule": "@daily",
"starts_at": "2025-12-20T02:00:00Z",
"executor": "shell",
"executor_config": {
"command": "maintenance.sh"
}
}

The UI has been updated to support this new field, making it easy to configure start times directly from the dashboard.

Pause and Resume Job Submissions

Gain better control during maintenance windows or system updates with the new API endpoints to pause and unpause job submissions. When paused, no new jobs will be accepted, but existing scheduled jobs continue to run normally.

# Pause new job submissions
curl -X POST http://dkron-server:8080/v1/pause

# Resume job submissions
curl -X POST http://dkron-server:8080/v1/unpause

Memory Limits for Shell Executor Jobs

Prevent runaway processes from consuming all system resources! You can now set memory limits for shell executor jobs using the new memory_limit configuration option. This helps ensure system stability and predictable resource usage.

{
"executor": "shell",
"executor_config": {
"command": "data-processing.sh",
"memory_limit": "512m"
}
}

Enhanced Metrics and Monitoring

Job execution metrics are now tracked using the go-metrics package, providing better insights into your job performance. Monitor execution times, success rates, and system health with greater precision.

Improved Concurrency Handling

The "forbid" concurrency policy now correctly survives node restarts. Previously, jobs with concurrency set to "forbid" could incorrectly block after a node restart. This fix ensures your concurrency policies work reliably across the entire cluster lifecycle.

Bug Fixes and Improvements

Critical Fixes

  • Fixed nil pointer panic during startup: Resolved issues with Raft-dependent methods being called before initialization was complete
  • Fixed Docker startup with custom address pools: Dkron now works properly with custom Docker network configurations
  • Fixed mutex copy in processor plugin interface: Improved thread safety in plugin communications
  • Fixed dependent_jobs preservation: Job updates now correctly preserve existing dependent_jobs values

Developer Experience

  • Mailpit integration: Replaced the unmaintained MailHog with actively maintained Mailpit for email testing
  • Documentation search: The documentation site now includes full-text search functionality
  • Architecture diagrams: Added comprehensive diagrams documenting the job execution flow
  • UI improvements: Job IDs are now visible on small screens for better mobile experience

Upgrading to v4.0.9

Dkron v4.0.9 is designed to be a straightforward upgrade from v4.0.8. As always, we recommend:

  1. Backing up your data store before upgrading
  2. Testing the upgrade in a non-production environment first
  3. Following a rolling upgrade pattern for production clusters

What's Next?

We continue to invest in making Dkron the most reliable and feature-rich distributed job scheduler. Future releases will focus on:

  • Enhanced observability with OpenTelemetry integration improvements
  • Advanced job dependencies and workflows
  • Performance optimizations for large-scale deployments

Get Dkron v4.0.9

Community and Support

Join our growing community:

Thank you to all our contributors who made this release possible, especially @NAlexandrov for the starts_at feature and @indeedhat for the dependent_jobs fix!

Happy scheduling!

The Dkron Team

Dkron Pro 4.0 Stable Released!

· 3 min read
The Dkron Team

We are excited to announce the stable release of Dkron Pro 4.0! This release brings significant improvements to Dkron Pro, focusing on enhanced security, usability, and documentation.

What's New in Dkron Pro 4.0?

Dkron Pro 4.0 comes packed with new features and improvements, including:

  • New Access Control List (ACL) System: Secure your Dkron Pro environment with our brand new ACL system. Define granular permissions for users and teams, ensuring that only authorized personnel can access and modify your jobs and infrastructure.
  • Revamped User Interface (UI): Enjoy a more intuitive and user-friendly experience with our completely redesigned UI. The new UI makes it easier than ever to manage your jobs, monitor execution, and gain insights into your Dkron Pro environment.
  • Improved Documentation: We've invested heavily in improving our documentation to make it easier for you to get started with Dkron Pro and troubleshoot any issues you may encounter. The documentation includes detailed guides, examples, and API references.
  • Updated Dkron Open Source Core: Dkron Pro 4.0 benefits from the latest version of the Dkron open source core engine, incorporating multiple pull requests that fix numerous issues and improve overall stability and performance.

Access Control List (ACL) System

Dkron Pro 4.0 introduces a robust ACL system that allows you to control access to your Dkron Pro resources. You can define roles and permissions, assign users to roles, and restrict access to specific jobs, agents, and other resources. This ensures that your Dkron Pro environment is secure and compliant with your organization's security policies.

Read the documentation on ACL system

Revamped User Interface (UI)

The new Dkron Pro UI is designed to be more intuitive and user-friendly. We've updated to the latest version of React Admin, bringing a modern design, improved navigation, and enhanced functionality. You can now easily manage your jobs, monitor execution, and gain insights into your Dkron Pro environment with just a few clicks. We've also added dark mode and other small improvements to enhance your experience.

Improved Documentation

We've completely revamped our documentation to make it easier for you to get started with Dkron Pro and find the information you need. The documentation includes detailed guides, examples, and API references.

Get Started Today!

Download Dkron Pro 4.0 today and experience the benefits of enhanced security, usability, and documentation.

We hope you enjoy Dkron Pro 4.0! If you have any questions or feedback, please don't hesitate to contact us.

Thank you for your continued support!

The Dkron Team

Dkron Pro 4.0 Beta

· 2 min read

After the announcement of Dkron Open Source 4.0 Beta, I'm thrilled to announce that Dkron Pro v4.0.0-beta1 has been released. This is the first major release in more than a year, and we hope you will be happy with it.

We are so happy because this release brings maturity to the system, meaning it's becoming adult and fully featured. On one side, we're leaving behind the old UI; it's not included anymore in this version, and we've bumped the UI to React Admin v5, meaning that it's crisper, more responsive, and better looking than ever.

The basic usage is better covered than ever by including the shell and the HTTP executors inside the main binary, so now with just the single Dkron binary, it packs the basic functionality.

The new ACL system

Regarding security, this is the big announcement for Pro v4: the completely new and rebuilt from the ground-up ACL system. We don't want to hide it; it's heavily inspired by the ACL system in the popular Hashicorp's Nomad, but with a different flavour. Check the docs and follow the tutorial on how to use it; it's easy.

Try it

Try it for free: just download and install Dkron Pro v4.0.0-beta using your preferred method, docker image, packages, or binary build. Try it and let us know how it feels.

Thank you!

Dkron 4.0 Beta

· 2 min read

Introducing Dkron v4.0.0-beta1

We are excited to announce the release of Dkron v4.0.0-beta1, which comes with major improvements and better performance. If you are using Dkron for distributed cron jobs, now is the perfect time to give the beta a try!

Stay tunned to upcoming beta releases here https://github.com/distribworks/dkron/releases

New Features

Run Dkron as a Single Binary

The new release includes the ability to run Dkron as a single binary, as it embeds the shell plugin. This makes it even easier and faster to get started with Dkron for simple cron job management, especially for those who only need to run shell jobs.

Docker Light Image

We are thrilled to announce the release of a new Docker light image for Dkron v4.0.0-beta1. This image contains only the main Dkron binary with the built-in shell plugin and no other plugins, all in a single file. If you're looking for a lean and efficient way to run Dkron, this is it! You can find the image on Docker Hub.

Reporting Issues

As this is a beta release, we encourage users to report any issues they encounter to help us make the final release even better. Your feedback is essential in ensuring that the final release meets your expectations.

Changelog

The release includes a substantial list of changes, including the bumping of various dependencies, clean up in CI, handling of IP changes, removal of the old UI, and many more improvements and fixes. You can view the full changelog here.

We are looking forward to your feedback on this beta release, and we hope that Dkron v4.0 Beta will bring added value and convenience to your cron job management.

Happy scheduling! 🚀🎉

Dkron 3.2

· 3 min read

New website

Our brand new web site designed and implemented by https://github.com/Macxim, comes with a brand new look, better content structure, better documentation a new blog section and the new API navigator.

This marks the start of a new and better product design, more focused on the UX, easy of use and more documentation for Dkron.

We hope you like it as much as we do. ❤️

New features

Cronitor integration

Our goal is to provide a very reliable way of running your cron jobs, we share that vision with the people behind Cronitor. Dkron is very reliable but sometimes a very bad event can bring your cluster down to its knees. To provide multiple options to monitor Dkron, I'm happy to introduce a new way to monitor your job executions using Cronitor service.

Cronitor is tightly integrated with Dkron, it will notify the details of every execution and Cronitor can offer multiple channels for alerting you in case something goes wrong.

Check the service https://cronitor.io/ and follow the integration guide in the docs to set up your Dkron-Cronitor integration.

OpenAPI

We have migrated API docs from Swagger 2 spec to OpenAPI 3 format. Check the new and better API docs and you can download the new OpenAPI spec too.

Upcoming features

The new look of Dkron will pave the road for the upcoming v4 release. We have really interesting features almost ready for the new version, some of them are:

  • Bump React Admin to v4.0
  • Shell plugin will be included in the main binary
  • New light image including only the main binary
  • Optionally use fast-store instead of boltdb for Raft log, this will improve performance tenfold
  • Farewell to the old UI

We think this will open Dkron to be used for new use cases that where not possible before.

Wrap-up

We are very happy of giving Dkron a well deserved new face to the world and also to keep integrating with new services we love to be able to offer the best product we can for this specific -and niche- market.

We think there's a gap in Job schedulers for the rest-of-us that is currently improving, but still very needed of cost-effective and easy to operate solutions like Dkron for small-mid start-ups and for specific needs in bigger companies.

We're always open to our users feedback so feel free to contact us if you have any suggestion.

Dkron 3.0 Release

· One min read

I'm thrilled to announce that Dkron/Pro v3.0 is here!

This release brings a big internal refactor in the job execution engine, incorporating breaking changes but ensuring no more missing executions.

What's new

Job execution engine

Refactored the job execution engine for proper synchronization of executions, no more missing executions under normal conditions, and if there is one, Dkron will report the issue clearly in the logs.

New node targeting algorithm, transparent for the user.

UI Improvements

Change the notification JS code to a pop-up like system that provides better comfort in using the UI, previously causing some weird effects on certain job operations like Run, Toggle, and Delete.

Wrap-up

This update brings no public API changes, and no changes in storage format so your upgrade path should be easy if you follow the rolling upgrade notes.

Download and install from here

Thank you to all my Dkron Pro customers for ensuring the long-term support and maintenance of Dkron. Support OSS software and your infrastructure vendors so we can support you!