Algorithm-Cron
view release on metacpan or search on metacpan
wday => "mon,wed,fri"
Specifying `sun' as the end of a `wday' range, or giving the numeric
value of `7' is also supported.
wday => "fri-sun"
wday => "5-7"
# Both equivalent to: wday => "0,5,6"
As per cron(8) behaviour, this algorithm looks for a match of the `min',
`hour' and `mon' fields, and at least one of the `mday' or `mday'
fields. If both `mday' and `wday' are specified, a match of either will
be sufficient.
As an extension, seconds may be provided either by passing six
space-separated fields in the `crontab' string, or as an additional
`sec' field. If not provided it will default to `0'. If six fields are
provided, the first gives the seconds.
Time Base
lib/Algorithm/Cron.pm view on Meta::CPAN
wday => "mon,wed,fri"
Specifying C<sun> as the end of a C<wday> range, or giving the numeric value
of C<7> is also supported.
wday => "fri-sun"
wday => "5-7"
# Both equivalent to: wday => "0,5,6"
As per F<cron(8)> behaviour, this algorithm looks for a match of the C<min>,
C<hour> and C<mon> fields, and at least one of the C<mday> or C<mday> fields.
If both C<mday> and C<wday> are specified, a match of either will be
sufficient.
As an extension, seconds may be provided either by passing six space-separated
fields in the C<crontab> string, or as an additional C<sec> field. If not
provided it will default to C<0>. If six fields are provided, the first gives
the seconds.
=head2 Time Base
( run in 0.309 second using v1.01-cache-2.11-cpan-64827b87656 )