Skip to content

Releases: niklata/ncron

ncron v2024-06-15

15 Jun 21:04
b3f84ca
Compare
Choose a tag to compare

Fixes a regression recently introduced with the sieve changes where newly created jobs wouldn't run because they were initially populated with a starting runtime of UNIX epoch 0 which exceeds the five year limit for constraint in the current era.

ncron v2024-02-19

19 Feb 07:25
0d29b8c
Compare
Choose a tag to compare

This is the most significant release since the early days of ncron, which was originally written a long time ago. Many things were done to improve the program to be closer to my current standards.

  • ncron is much smaller, both in memory and binary size. It now only requires a C99 compiler to build.
  • The constraint solver was rewritten. The new solver uses a better algorithm that is more efficient and easier to analyze.
  • The configuration file format has had some changes that will require edits to exiting crontab files. See the "Upgrading" section in README.md for details. Files that use no constraints will probably only have to delete the terminal "!0" line.
  • Time constraints are much more useful. It is now possible to specify hh:mm constraints rather than the old hh or mm constraints that had semantics that were not very useful when combined.
  • Some bugs were fixed. The most notable were related to journal mode jobs causing all jobs to become journal mode after running, and commands with multiple arguments not being properly passed to pspawn.
  • Allocation never happens (aside from any done by libc) after configuration is complete, and ncron is carefully tuned to use as few allocations as possible.
  • The history file is now updated on disk atomically.

(The previous release three days ago was identical aside from still being C++, so I'm duplicating the notes here.)

ncron v2024-02-16

16 Feb 12:59
4c1f47c
Compare
Choose a tag to compare

Identical to the v2024-02-19 release in features, but still required a C++ compiler.

ncron v2022-12-01

01 Dec 10:30
8634893
Compare
Choose a tag to compare

Stable release for packaging convenience.