[Yanel-commits] rev 47086 -
public/yanel/trunk/src/realms/yanel-website/content
michi at wyona.com
michi at wyona.com
Sat Jan 16 21:40:54 CET 2010
Author: michi
Date: 2010-01-16 21:40:53 +0100 (Sat, 16 Jan 2010)
New Revision: 47086
Modified:
public/yanel/trunk/src/realms/yanel-website/content/7a325ee2-1b5c-4bcb-81cf-6ba987c2ee04
Log:
sample config added
Modified: public/yanel/trunk/src/realms/yanel-website/content/7a325ee2-1b5c-4bcb-81cf-6ba987c2ee04
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/7a325ee2-1b5c-4bcb-81cf-6ba987c2ee04 2010-01-16 20:00:18 UTC (rev 47085)
+++ public/yanel/trunk/src/realms/yanel-website/content/7a325ee2-1b5c-4bcb-81cf-6ba987c2ee04 2010-01-16 20:40:53 UTC (rev 47086)
@@ -8,4 +8,24 @@
<body>
<h1>Scheduler<br /></h1>
<p>The scheduler is currently based on <a href="http://www.quartz-scheduler.org/">Quartz</a>.</p>
-</body></html>
+
+<p>One can configure jobs per realm (e.g. src/realms/from-scratch-realm-template/data-repo/data/scheduler-jobs.xml), whereas the configuration is read during startup. An example can be found below:</p>
+
+<pre>
+<?xml version="1.0"?>
+
+<scheduler xmlns="http://www.wyona.org/scheduler/1.0">
+ <jobs enabled="true">
+ <job class="org.wyona.yanel.servlet.HeartbeatJob" name="hearbeat1">
+ <--<trigger startDate="2010.11.15T10:30:15">-->
+ <trigger startDate="NOW">
+ <!--<repeat count="REPEAT_INDEFINITELY" interval="60000"/>-->
+ <repeat count="3" interval="60000"/>
+ </trigger>
+ </job>
+ </jobs>
+</scheduler><br/>
+</pre>
+
+</body>
+</html>
More information about the Yanel-commits
mailing list