From 87722c3b8d4aa03ed76b6107ce0bb5186247f432 Mon Sep 17 00:00:00 2001 From: hns Date: Thu, 20 Sep 2007 08:12:13 +0000 Subject: [PATCH] Minor cleanups and fixes in helma.util.CronJob: * Send sub-properties of app properties that start with "cron." so we don't have to do the filtering ourselves. * Be tolerant of whitespace in cron job time specs (e.g. cron.foo.minutes = 0, 15, 30, 45) --- src/helma/framework/core/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 27f31e77..8e5703ff 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -1588,7 +1588,7 @@ public final class Application implements Runnable { */ private void executeCronJobs() { // loop-local cron job data - List jobs = CronJob.parse(props); + List jobs = CronJob.parse(props.getSubProperties("cron.")); Date date = new Date(); jobs.addAll(customCronJobs.values());