[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>
+&lt;?xml version=&quot;1.0&quot;?&gt;
+
+&lt;scheduler xmlns=&quot;http://www.wyona.org/scheduler/1.0&quot;&gt;
+  &lt;jobs enabled=&quot;true&quot;&gt;
+    &lt;job class=&quot;org.wyona.yanel.servlet.HeartbeatJob&quot; name=&quot;hearbeat1&quot;&gt;
+      &lt;--&lt;trigger startDate=&quot;2010.11.15T10:30:15&quot;&gt;--&gt;
+      &lt;trigger startDate=&quot;NOW&quot;&gt;
+        &lt;!--&lt;repeat count=&quot;REPEAT_INDEFINITELY&quot; interval=&quot;60000&quot;/&gt;--&gt;
+        &lt;repeat count=&quot;3&quot; interval=&quot;60000&quot;/&gt;
+      &lt;/trigger&gt;
+    &lt;/job&gt;
+  &lt;/jobs&gt;
+&lt;/scheduler&gt;<br/>
+</pre>
+
+</body>
+</html>



More information about the Yanel-commits mailing list