From f1acd5b495331ac8b5c9ffd72d6dd2e2eb802c7f Mon Sep 17 00:00:00 2001 From: fukachan Date: Mon, 2 Apr 2001 04:11:53 +0000 Subject: enable to trap */\d+ for every month todo --- fml/lib/TinyScheduler.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fml/lib') diff --git a/fml/lib/TinyScheduler.pm b/fml/lib/TinyScheduler.pm index 79686358..50f534ed 100644 --- a/fml/lib/TinyScheduler.pm +++ b/fml/lib/TinyScheduler.pm @@ -5,7 +5,7 @@ # redistribute it and/or modify it under the same terms as Perl itself. # # $Id$ -# $FML: TinyScheduler.pm,v 1.2 2001/04/01 23:32:04 fukachan Exp $ +# $FML: TinyScheduler.pm,v 1.3 2001/04/02 04:05:04 fukachan Exp $ # package TinyScheduler; @@ -129,6 +129,11 @@ sub parse $self->_parse($1, $2); } } + + # for example, "*/24 something" + if (/^\*\/(\d+)\s+(.*)/) { + $self->_parse($1, $2); + } } close($fh); } -- cgit v1.2.1