summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-04-02 04:11:53 +0000
committerfukachan <fukachan>2001-04-02 04:11:53 +0000
commitf1acd5b495331ac8b5c9ffd72d6dd2e2eb802c7f (patch)
treec9554d5da6d2e84c1822a940537e6a4409dec0fb /fml/lib
parent80f59426231bc58a2f743885a92aa0a889db79e8 (diff)
downloadfml8-f1acd5b495331ac8b5c9ffd72d6dd2e2eb802c7f.tar.gz
fml8-f1acd5b495331ac8b5c9ffd72d6dd2e2eb802c7f.tar.bz2
fml8-f1acd5b495331ac8b5c9ffd72d6dd2e2eb802c7f.zip
enable to trap */\d+ for every month todo
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/TinyScheduler.pm7
1 files changed, 6 insertions, 1 deletions
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);
}