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 2015/07/01 17:57:50 UTC

svn commit: r956555 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/scheduler-service-commons-scheduler.html

Author: buildbot
Date: Wed Jul  1 15:57:49 2015
New Revision: 956555

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 Wed Jul  1 15:57:49 2015
@@ -1 +1 @@
-1688653
+1688673

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 Wed Jul  1 15:57:49 2015
@@ -166,6 +166,7 @@ The notion of Job used in this context i
 </pre></div>
 
 
+<p>Since in contrast to <a href="[/documentation/bundles/apache-sling-eventing-and-job-handling.html]">Sling Jobs</a> the scheduler queue is only held in memory, there will be no distribution of jobs. So if job '1' was scheduled on instance 'a' with the option to run on the leader only, but the leader is instance 'b', which hasn't the job in the queue, the job will never be executed by any instance!</p>
 <h2 id="the-scheduler-api">The Scheduler API</h2>
 <p>The scheduler has methods to execute jobs periodically, based on a cron expression or at a given time. For more details please refer to the <a href="http://sling.apache.org/apidocs/sling6/org/apache/sling/commons/scheduler/Scheduler.html">javadocs</a>.</p>
 <h2 id="examples-of-scheduled-jobs-registered-through-the-scheduler-api">Examples of scheduled jobs registered through the scheduler API</h2>
@@ -293,7 +294,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. 1688560 by kwin on Wed, 1 Jul 2015 06:52:55 +0000
+        Rev. 1688673 by kwin on Wed, 1 Jul 2015 15:57:37 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project