aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 93e3f58001a2e1eb5f93000d82d689faf25f0c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# uncron

Convert cron schedules into a human-readable form:

    > uncron "0 6 1 * *"
    At 06:00, on the 1st of every month
    > uncron "0 * 2 1-4 *"
    At the top of every hour, on the 2nd from January to April
    > uncron "10,30,50 * 1 1-6/3 *"
    At minutes 10, 30 and 50 of every hour, on the 1st of every 3 months from January to June

## Building & Running

The recommended solution is to use `nix`:

- Use `nix profile install http://git.k.mulga.net/julien/uncron/snapshot/uncron-main.tar.gz` to install uncron,
- Use `nix run http://git.k.mulga.net/julien/uncron/snapshot/uncron-main.tar.gz` to build and run the binary directly.

If you have `cabal` installed, use `cabal build` or `cabal install`.