Author: buildbot Date: Fri Aug 4 14:26:41 2017 New Revision: 1016397 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:26:41 2017 @@ -1 +1 @@ -1804128 +1804129 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:26:41 2017 @@ -124,7 +124,7 @@ The notion of Job used in this context i <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> +<p>The following job is executed every minute by setting <em>scheduler.expression</em> to the cron expression <code>0 * * * * ?</code>:</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> <span class="n">import</span> <span class="n">org</span><span class="p">.</span><span class="n">slf4j</span><span class="p">.</span><span class="n">Logger</span><span class="p">;</span> @@ -320,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. 1804128 by kwin on Fri, 4 Aug 2017 14:24:25 +0000 + Rev. 1804129 by kwin on Fri, 4 Aug 2017 14:26:30 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project