Skip to end of metadata
Go to start of metadata

hcron

hcron is an enterprise class periodic command scheduler with advanced and unique features.

Highlights

  • hcron now runs in Python3. So, it will continue to work on modern systems without interruption.
  • The most obvious change is the introduction of a single frontend called hcron which replaces the various individual hcron programs.
  • Internally, there are many improvements. One such improvement shows itself in the form the "job". A job is used to track what happens from the time a trigger occurs (e.g., the clock hits the next minute mark), to an event being activated, to a command being executed and email being sent. This is visible in the log file and can be invaluable when trying to understand and track complex chains of events.
  • An event can now be activated on demand. This eliminates the need to tweak the when_*  settings for a one off situation. All event chains function as usual, too.
  • With this release, hcron will continue to reliably serve the needs of many users in operational and non-operational settings alike.

Changes

  • Python 3 support.
  • New hcron frontend.
  • Events can be activated on demand.
  • hcron list lists events with pattern matching support.
  • The command field is now optional.
  • notify_email accepts multiple recipients.
  • next_event and failover_event accept multiple event names.
  • Enhanced logging.
  • hcron show-log helps inspect the log file.
  • All scheduled events are tracked as jobs and have identification (jobid , jobgid , pjobgid).
  • hcron get replaces hcron-info.
  • hcron run supports failover events for better simulation.
  • There are additional HCRON_* variables in support of new functionality.

Feedback

For questions and/or comments, please use one of the means (email, discussion) shown in the Contact page.

For bug reports and other issues, the issue tracker on Bitbucket is now active.

Links