1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add p5-Schedule-Cron 0.03, schedule::Cron - cron-like scheduler for Perl

subroutines.

PR:		24030
Submitted by:	Anton Berezin <tobez@tobez.org>
This commit is contained in:
Neil Blakey-Milner 2001-01-03 09:17:30 +00:00
parent 397bdc2266
commit 194d04ec16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36624
6 changed files with 55 additions and 0 deletions

View File

@ -71,6 +71,7 @@
SUBDIR += nut
SUBDIR += nwclient
SUBDIR += obliterate
SUBDIR += p5-Schedule-Cron
SUBDIR += p5-SyslogScan
SUBDIR += p5-Unix-Syslog
SUBDIR += pib

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: sysutils/p5-Schedule-Cron
# Date created: 03 January 2001
# Whom: Anton Berezin <tobez@tobez.org>
#
# $FreeBSD$
#
PORTNAME= Schedule-Cron
PORTVERSION= 0.03
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Schedule
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@tobez.org
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time
USE_PERL5= yes
PERL_CONFIGURE= yes
MAN3= Schedule::Cron.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Schedule-Cron-0.03.tar.gz) = abae3eb58f495c4c66a22381aaa02cbc

View File

@ -0,0 +1 @@
Schedule::Cron - cron-like scheduler for Perl subroutines

View File

@ -0,0 +1,21 @@
This module provides a simple but complete cron like scheduler. I.e
this modules can be used for periodically executing Perl subroutines.
The dates and parameters for the subroutines to be called are
specified with a format known as crontab entry (see manpage crontab(5)
or documentation of Schedule::Cron).
The philosophy behind Schedule::Cron is to call subroutines
periodically from within one single Perl program instead of letting
cron trigger several (possibly different) Perl scripts. Everything
under one roof. Furthermore Schedule::Cron provides mechanism to
create crontab entries dynamically, which isn't that easy with cron.
Schedule::Cron knows about all extensions (well, at least all
extensions I'm aware of, i.e those of the so called "Vixie" cron) for
crontab entries like ranges including 'steps', specification of month
and days of the week by name or coexistence of lists and ranges in the
same field. And even a bit more (like lists and ranges with symbolic
names).
-Anton
<tobez@tobez.org>

View File

@ -0,0 +1,5 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule/Cron/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Schedule/Cron.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule/Cron
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Schedule 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Schedule 2>/dev/null || true