BSD Ports

sysutils/p5-Schedule-Cron-Events 1.95_1 FreeBSD

Take a line from a crontab and find out when events will occur

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
sysutils, perl5
Package size
15.8 KiB, 33.9 KiB installed

Description

Given a line from a crontab, tells you the time at which cron will next run the line, or when the last event occurred, relative to any date you choose. The object keeps that reference date internally, and updates it when you call nextEvent() or previousEvent() - such that successive calls will give you a sequence of events going forward, or backwards, in time.

Use setCounterToNow() to reset this reference time to the current date on your system, or use setCounterToDate() to set the reference to any arbitrary time, or resetCounter() to take the object back to the date you constructed it with.

This module uses Set::Crontab to understand the date specification, so we should be able to handle all forms of cron entries.

In the other systems

SystemPortVersion
FreeBSDsysutils/p5-Schedule-Cron-Events1.95_1
NetBSDtime/p5-Schedule-Cron-Events1.96nb6
DragonFlysysutils/p5-Schedule-Cron-Events1.95_1

Install

Binary package:

pkg install p5-Schedule-Cron-Events

From the ports tree:

cd /usr/ports/sysutils/p5-Schedule-Cron-Events/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Schedule-Cron-Events>0:sysutils/p5-Schedule-Cron-Events

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.95_11.95_11.95_11.95_11.95_1
FreeBSD:14:quarterly1.95_11.95_1n/a1.95_11.95_1
FreeBSD:15:latest1.95_11.95_1n/a1.95_11.95_1
FreeBSD:15:quarterly1.95_11.95_1n/an/an/a
FreeBSD:16:latest1.95_11.95_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • bin/cron_event_predict.plx
  • %%SITE_PERL%%/Schedule/Cron/Events.pm
  • %%PERL5_MAN1%%/cron_event_predict.plx.1.gz
  • %%PERL5_MAN3%%/Schedule::Cron::Events.3.gz
distinfo 1
FileSizeSHA256
Schedule-Cron-Events-1.95.tar.gz11350fd12849863a9a6a9b0c6c2d8b8c96225c70875efaee80d8100d4f70c073c1bf5
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.