ParseCron - describe a cron job in human-readable form
describe a cron job in human-readable form. adapted from http://interglacial.com/~sburke/pub/crontab2english.html for use in DDG Goodies.
use ParseCron qw/parse_cron/;
my $english = parse_cron('42 12 3 Feb Sat');
will produce '(42 12 3 Feb Sat) means this cron job will run: 12:42pm on the third of -- or every Saturday in -- February'.
See ParseCron.t for more example uses.
Create a new ParseCron object.
This is the workhorse. All translation work gets done here. This is the only exported sub.
sean m burke,
<firstname.lastname@example.org> bradley andersen,
<bradley at pvnp.us>
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright (c) 2014 Bradley Andersen. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.