Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.
MIT License
Bot releases are hidden (Show)
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.3.7...4.3.8
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.3.6...4.3.7
Published by Hexagon over 2 years ago
.msToNext()
between triggers when using interval:
option.Full Changelog: https://github.com/Hexagon/croner/compare/4.3.4...4.3.6
Published by Hexagon over 2 years ago
enumerate()
and interval:
optionFull Changelog: https://github.com/Hexagon/croner/compare/4.3.3...4.3.4
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.3.2...4.3.3
Published by Hexagon over 2 years ago
.next()
showing current run during triggered functioninterval: x
Full Changelog: https://github.com/Hexagon/croner/compare/4.3.1...4.3.2
Published by Hexagon over 2 years ago
.msToNext()
did return incorrect value when called "externally" without a previous run specified..msToNext()
did not accept a string,Full Changelog: https://github.com/Hexagon/croner/compare/4.3.0...4.3.1
Published by Hexagon over 2 years ago
@hourly
, @weekly
etc.). See pattern docs.Note: Bumped minor (4.2 -> 4.3) due to added functionality. Not a breaking change.
Full Changelog: https://github.com/Hexagon/croner/compare/4.2.3...4.3.0
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.2.2...4.2.3
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.2.1...4.2.2
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.2.0...4.2.1
Published by Hexagon over 2 years ago
New option - legacyMode: true
.
When enabled, day-of-week and day-of-month are ORed instead of ANDed. See #53 for more information
It is now possible to combine L
with specific days, like 0 0 0 1,L * *
to run both first and last day of month.
This is not a breaking change in any way, but minor is bumped due to modified internals and new features. 4.1 will be supported with hotfixes until 4.2 has settled.
Full Changelog: https://github.com/Hexagon/croner/compare/4.1.97...4.2.0
Published by Hexagon over 2 years ago
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.1.95...4.1.96
Published by Hexagon over 2 years ago
.enumerate()
. previous
was not optional.Full Changelog: https://github.com/Hexagon/croner/compare/4.1.94...4.1.95
Published by Hexagon over 2 years ago
date
-> Date
by @maricn in https://github.com/Hexagon/croner/pull/49
Full Changelog: https://github.com/Hexagon/croner/compare/4.1.93...4.1.94
Published by Hexagon over 2 years ago
L
does not increment when using enumerate()
Full Changelog: https://github.com/Hexagon/croner/compare/4.1.92...4.1.93
Published by Hexagon over 2 years ago
Full Changelog: https://github.com/Hexagon/croner/compare/4.1.91...4.1.92
Published by Hexagon over 2 years ago
Minor bump due to slightly changed interface. Just added functionality, not breaking in any way.
Full Changelog: https://github.com/Hexagon/croner/compare/4.0.90...4.1.91
Published by Hexagon over 2 years ago
Bugfix
Full Changelog: https://github.com/Hexagon/croner/compare/4.0.89...4.0.90