BSD Ports

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

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, sysutils
Package size
15.4 KiB, 34.4 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
DragonFlysysutils/p5-Schedule-Cron-Events1.95_1
FreeBSDsysutils/p5-Schedule-Cron-Events1.95_1
NetBSDtime/p5-Schedule-Cron-Events1.96nb6
HardenedBSDsysutils/p5-Schedule-Cron-Events1.95_1
GhostBSDsysutils/p5-Schedule-Cron-Events1.95_1

Install

Binary package:

pkg install p5-Schedule-Cron-Events

From DPorts:

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

Dependencies

Run dependencies 2
Required by 1