perl-Mojar-Cron - Cron-style time patterns and algorithm

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Mojar-Cron
Package version 0.401
Package release alt1
Package architecture noarch
Package type rpm
Installed size 42.89 KB
Download size 42.89 KB
Official Mirror
A time pattern is a sequence of six components: second, minute, hour, day,
month, weekday (the component for 'second' may be omitted for brevity and
consistency with standard cron syntax) and supports `@'-expressions in the
weekday component.  Each of the first four components consists of a
comma-separated list of patterns.
The 'month' component can use those patterns, but may also use English prefices
in place of numbers.
apr-jun,oct-dec  # instead of 4-6,10-12
The 'weekday' component can do similarly.
mon-fri  # instead of 1-5
mon,wed,fri  # instead of 1,3,5
(Note that this implementation also supports 'wrap around' patterns such as
`fri-mon' and `oct-mar'.)
In keeping with standard cron, a time pattern may specify sequences for both day
and weekday in the same pattern.  This can cause confusion because the pattern
is satisfied if either sequence is satisfied.
00 00 00 01  * mon  # midnight on the first of each month and also each Monday
The weekday component may use `@'-expressions, but in this case the 'day' and
'month' components must be unspecified.
00 00 00  *  * @mon#1      # first Monday of each month
00 00 16  *  * @5#L        # last Friday of each month
00 00 16  *  * @week#L     # last week day (Mon-Fri) of each month
00 00 03  *  * @weekend#1  # first weekend day (Sat-Sun) of each month
There are also special expressions which can replace the whole time pattern.
00 01 00  *  * *  # @nightly
00 01 06  *  * *  # @morningly
00 01 12  *  * *  # @daily
00 01 18  *  * *  # @eveningly
Cron patterns of the kind `*/n' have a weakness that they only specify jumps
within their sequence.  For example the 'day' pattern `*/15' will trigger on
1st, 16th, 31st January and then again on 1st February; the pattern resets at
the end of its sequence (month days).  This might not be what you expect or
want, so we also have yearday patterns.  These have the same behaviour, but
because they don't reset till the end of the year, they get closer to what
people expect.
00 00 00  *  * :*/2  # every two days through the year


Package Version Architecture Repository
perl-Mojar-Cron - - -


Name Value
/usr/share/perl5 -
perl(IO/Socket/ -
perl(Mojar/ -
perl(Mojo/ -
perl(Mojo/ -
perl( -
perl(Time/ -
perl( -
perl( -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Mojar/ = 0.401
perl(Mojar/Cron/ = 0.011
perl(Mojar/Cron/ = 0.101
perl(Mojar/Cron/ -
perl(Mojar/Cron/Holiday/ = 0.021
perl(Mojar/Cron/Holiday/ = 0.021
perl(Mojar/Cron/ = 0.011
perl(Mojar/Cron/ = 0.051
perl-Mojar-Cron = 0.401-alt1


Type URL
Binary Package perl-Mojar-Cron-0.401-alt1.noarch.rpm
Source Package perl-Mojar-Cron-0.401-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Mojar-Cron rpm package:
    # sudo apt-get install perl-Mojar-Cron



See Also

Package Description
perl-Mojar-Google-Analytics-1.112-alt1.noarch.rpm Fetch Google Analytics reporting data
perl-Mojar-Message-1.102-alt1.noarch.rpm Send messages
perl-Mojar-Mysql-2.132-alt1.noarch.rpm Powertools for MySQL databases
perl-Mojo-ACME-0.11-alt1.noarch.rpm Mojo-based ACME-protocol client
perl-Mojo-APNS-1.00-alt1.noarch.rpm Apple Push Notification Service for Mojolicious
perl-Mojo-AsyncAwait-0.01-alt1.noarch.rpm An Async/Await implementation for Mojolicious
perl-Mojo-Autobox-0.03-alt1.noarch.rpm Some extra Mojo for Perl native datatypes
perl-Mojo-Base-Lib-0.003-alt1.noarch.rpm use Mojo::Base::Lib 'SomeBaseClass',-lib, qw(rel/path/lib /abs/path/lib);
perl-Mojo-Bass-0.4.0-alt1.noarch.rpm Mojo::Base + lexical "has"
perl-Mojo-CSV-1.001003-alt1.noarch.rpm no-nonsense CSV handling
perl-Mojo-CallFire-0.01-alt1.noarch.rpm A simple interface to the CallFire API
perl-Mojo-CloudCheckr-0.01-alt1.noarch.rpm A simple interface to the CloudCheckr API
perl-Mojo-Cloudflare-0.04-alt1.noarch.rpm Talk with the Cloudflare API using Mojo::UserAgent
perl-Mojo-Cloudstack-0.07-alt1.noarch.rpm >new(
perl-Mojo-Collection-Role-UtilsBy-0.001-alt1.noarch.rpm List::UtilsBy methods for Mojo::Collection