2020-06-21 11:23:12 +03:00
2017-11-12 13:00:14 +03:00
2020-06-21 11:23:12 +03:00
2020-06-21 11:23:12 +03:00
2019-03-09 22:36:14 +03:00
2017-11-11 20:51:58 +03:00
2020-06-20 12:39:31 +03:00
2020-06-20 12:39:46 +03:00
2020-06-21 11:23:12 +03:00
2019-03-09 22:36:47 +03:00
2017-11-11 09:45:25 +03:00
2020-06-20 12:39:31 +03:00

Haskell cron matcher

Made just for fun and test haskell.

Usage

Match current time with given cron pattern.

$ haskell-cron-matcher "10-20 * * * *"

See return code for result:

  • 0 - matched
  • 1 - dismatched
  • 2 - pattern parse error

Build

You can use docker for build Stack and application:

$ make build-docker
$ make build

Tests

$ make test
Description
Matches current time to given expression
Readme 63 KiB
Languages
Haskell 91%
Makefile 9%