The cron package

[Tags: library, mit]

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]

Properties

Versions0.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
Change logNone available
Dependenciesattoparsec (==0.10.*), base (==4.*), text (==0.11.*), time (>=1.4) [details]
LicenseMIT
CopyrightCopyright: (c) 2012 Michael Xavier
AuthorMichael Xavier <michael@michaelxavier.net>
MaintainerMichael Xavier <michael@michaelxavier.net>
Stabilityexperimental
CategoryText, Parsing, System
Home pagehttp://github.com/michaelxavier/cron
Bug trackerhttp://github.com/michaelxavier/cron/issues
Source repositoryhead: git clone https://github.com/michaelxavier/cron
UploadedTue Jun 5 20:06:59 UTC 2012 by MichaelXavier
DistributionsLTSHaskell:0.3.0, Stackage:0.3.1
Downloads1926 total (105 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for cron-0.1.0

cron

Cron data structure and Attoparsec parser for Haskell. 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.

To do anything, you'll need to install cabal-dev with cabal.

To build, run:

make

To run tests, run:

make test

If you have inotify-tools, run this to run tests continuously.

make autotest

To generate docs:

make docs