A crontab parser that renders the result to a simple table.
Clone this repo and then run the following from the new directory:
$ pip install -e .
To run tests:
$ pip install -e .[test]
$ pytest
usage: cronparse [-h] crontab command
Parse and render a crontab
positional arguments:
crontab crontab to parse
command command to run
optional arguments:
-h, --help show this help message and exit
The '
s in the command line are important to prevent any *
s converting to
the contents of the current directory.
$ cronparse '*/15 0 1,15 * 1-5' /usr/bin/find
minute 0 15 30 45
hour 0
day of month 1 15
month 1 2 3 4 5 6 7 8 9 10 11 12
day_of_week 1 2 3 4 5
command /usr/bin/find