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
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/p5-Schedule-Cron-Events | 1.95_1 |
| NetBSD | time/p5-Schedule-Cron-Events | 1.96nb6 |
| DragonFly | sysutils/p5-Schedule-Cron-Events | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.95_1 | 1.95_1 | 1.95_1 | 1.95_1 | 1.95_1 |
| FreeBSD:14:quarterly | 1.95_1 | 1.95_1 | n/a | 1.95_1 | 1.95_1 |
| FreeBSD:15:latest | 1.95_1 | 1.95_1 | n/a | 1.95_1 | 1.95_1 |
| FreeBSD:15:quarterly | 1.95_1 | 1.95_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.95_1 | 1.95_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Set-Crontab>=0: devel/p5-Set-Crontab
Runtime 1
p5-Set-Crontab>=0: devel/p5-Set-Crontab
Test 1
p5-Test-Deep>=0: devel/p5-Test-Deep
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
| File | Size | SHA256 |
|---|---|---|
| Schedule-Cron-Events-1.95.tar.gz | 11350 | fd12849863a9a6a9b0c6c2d8b8c96225c70875efaee80d8100d4f70c073c1bf5 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.