cron: Cron datatypes and Attoparsec parser
Cron data structure and Attoparsec parser. The idea is to embed it in larger
systems which want to roll their own scheduled tasks in a format that people
are used to.
System.Cron
is where all the interesting datatypes live. You will also find
scheduleMatches
, which you can use to compare a time against a
CronSchedule
to see if an action needs to be performed. System.Cron.Parser
is where you will find the parsers cronSchedule
, crontabEntry
and
cronTab
. To parse individual schedules up to full crontab files.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
lib-werror | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- cron-0.7.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.1.1, 0.4.1.2, 0.4.2, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.7.1, 0.7.2 |
---|---|
Change log | changelog |
Dependencies | attoparsec (>=0.10), base (>=4 && <5), data-default, mtl (>=2.0.1), mtl-compat (>=0.2.1), old-locale (>=1.0), semigroups, text (>=0.11 && <3), time (>=1.4) [details] |
Tested with | ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.1 |
License | MIT |
Copyright | Copyright: (c) 2012-2014 Michael Xavier |
Author | Michael Xavier <michael@michaelxavier.net> |
Maintainer | Michael Xavier <michael@michaelxavier.net> |
Category | Text, Parsing, System |
Home page | http://github.com/michaelxavier/cron |
Bug tracker | http://github.com/michaelxavier/cron/issues |
Source repo | head: git clone https://github.com/michaelxavier/cron |
Uploaded | by MichaelXavier at 2024-11-09T20:15:43Z |
Distributions | LTSHaskell:0.7.2, NixOS:0.7.1, Stackage:0.7.2 |
Reverse Dependencies | 6 direct, 4 indirect [details] |
Downloads | 20481 total (42 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-11-09 [all 1 reports] |