Initial import of DateTime-Cron-Simple-0.2.
This module is a quick and dirty way to determine if a cron time format is valid for the current date and time. A cron entry follows the cron format from crontab(5). The validate_time function uses the current date and time for comparison, but will also accept a valid DateTime object as a parameter.
This commit is contained in:
parent
6e101220a6
commit
00f7dcf7ca
20
devel/p5-DateTime-Cron-Simple/Makefile
Normal file
20
devel/p5-DateTime-Cron-Simple/Makefile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/26 09:36:09 bernd Exp $
|
||||||
|
|
||||||
|
COMMENT= "parse a cron entry and check against current time"
|
||||||
|
|
||||||
|
DISTNAME= DateTime-Cron-Simple-0.2
|
||||||
|
PKGNAME= p5-${DISTNAME}
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
|
||||||
|
# Artistic
|
||||||
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
PERMIT_DISTFILES_FTP= Yes
|
||||||
|
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DateTime/}
|
||||||
|
|
||||||
|
CONFIGURE_STYLE= perl
|
||||||
|
PKG_ARCH= *
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
4
devel/p5-DateTime-Cron-Simple/distinfo
Normal file
4
devel/p5-DateTime-Cron-Simple/distinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
MD5 (DateTime-Cron-Simple-0.2.tar.gz) = a7c2b3f9dadd56d707684bef08bb895f
|
||||||
|
RMD160 (DateTime-Cron-Simple-0.2.tar.gz) = 943fdac00fb55d7dc5c151974ccb520441d9ca6e
|
||||||
|
SHA1 (DateTime-Cron-Simple-0.2.tar.gz) = 1ce9d7ffb74f2e3ba9d171a6294db5495d81d002
|
||||||
|
SIZE (DateTime-Cron-Simple-0.2.tar.gz) = 2469
|
5
devel/p5-DateTime-Cron-Simple/pkg/DESCR
Normal file
5
devel/p5-DateTime-Cron-Simple/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
This module is a quick and dirty way to determine if a cron time format is
|
||||||
|
valid for the current date and time.
|
||||||
|
A cron entry follows the cron format from crontab(5).
|
||||||
|
The validate_time function uses the current date and time for comparison,
|
||||||
|
but will also accept a valid DateTime object as a parameter.
|
5
devel/p5-DateTime-Cron-Simple/pkg/PLIST
Normal file
5
devel/p5-DateTime-Cron-Simple/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/26 09:36:09 bernd Exp $
|
||||||
|
${P5SITE}/DateTime/
|
||||||
|
${P5SITE}/DateTime/Cron/
|
||||||
|
${P5SITE}/DateTime/Cron/Simple.pm
|
||||||
|
@man man/man3p/DateTime::Cron::Simple.3p
|
Loading…
x
Reference in New Issue
Block a user