You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2017/08/04 14:24:51 UTC
svn commit: r1016395 - in /websites/staging/sling/trunk/content: ./
documentation/bundles/scheduler-service-commons-scheduler.html
Author: buildbot
Date: Fri Aug 4 14:24:51 2017
New Revision: 1016395
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 4 14:24:51 2017
@@ -1 +1 @@
-1804036
+1804128
Modified: websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/scheduler-service-commons-scheduler.html Fri Aug 4 14:24:51 2017
@@ -123,6 +123,7 @@ The notion of Job used in this context i
<h2 id="examples-of-jobs-that-are-scheduled-by-leveraging-the-whiteboard-pattern">Examples of jobs that are scheduled by leveraging the whiteboard pattern<a class="headerlink" href="#examples-of-jobs-that-are-scheduled-by-leveraging-the-whiteboard-pattern" title="Permanent link">¶</a></h2>
<p>The following examples show you how to define and schedule a job by leveraging the whiteboard pattern.</p>
<h3 id="scheduling-with-a-cron-expression">Scheduling with a cron expression<a class="headerlink" href="#scheduling-with-a-cron-expression" title="Permanent link">¶</a></h3>
+<p>The cron expression format is described in the <a href="http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html#format">Quartz Cron Documentation</a> and requires either 6 or 7 fields separated by white space. The first field always indicates the second (not the minute). </p>
<p>The following job is executed every minute by setting <em>scheduler.expression</em> to the cron expression <em>"0 * </em> * <em> ?"</em>:</p>
<div class="codehilite"><pre><span class="n">package</span> <span class="n">sling</span><span class="p">.</span><span class="n">docu</span><span class="p">.</span><span class="n">examples</span><span class="p">;</span>
@@ -319,7 +320,7 @@ The notion of Job used in this context i
<span class="p">}</span>
</pre></div>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1688675 by kwin on Wed, 1 Jul 2015 15:58:22 +0000
+ Rev. 1804128 by kwin on Fri, 4 Aug 2017 14:24:25 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project