You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by gi...@apache.org on 2023/08/06 10:42:42 UTC
[sling-site] branch asf-site updated: Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/722/
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 271358d33 Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/722/
271358d33 is described below
commit 271358d3366791bac2b3025f9047d49020466490
Author: jenkins <bu...@apache.org>
AuthorDate: Sun Aug 6 10:42:39 2023 +0000
Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/722/
---
documentation/bundles/apache-sling-eventing-and-job-handling.html | 4 ++--
sitemap.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/documentation/bundles/apache-sling-eventing-and-job-handling.html b/documentation/bundles/apache-sling-eventing-and-job-handling.html
index 59b8855f1..4bd7b912a 100644
--- a/documentation/bundles/apache-sling-eventing-and-job-handling.html
+++ b/documentation/bundles/apache-sling-eventing-and-job-handling.html
@@ -209,7 +209,7 @@ public class MyComponent {
}
</code></pre>
<p>Internally the scheduled Jobs use the <a href="/documentation/bundles/scheduler-service-commons-scheduler.html">Commons Scheduler Service</a>. But in addition they are persisted (by default below <code>/var/eventing/scheduled-jobs</code>) and survive therefore even server restarts. When the scheduled time is reached, the job is automatically added as regular Sling Job through the <code>JobManager</code>.</p>
-<p><strong>NOTE</strong>: A scheduled job is not automatically un-scheduled, but you have to remove it when it's no longer needed.</p>
+<p><strong>NOTE</strong>: A scheduled job is only automatically unscheduled, when it's scheduled for a specific date. Periodic jobs (using a CRON expression) are not automatically unscheduled, but you have to remove it when it's no longer needed.</p>
<pre><code> public void stopScheduledJob() {
Collection<ScheduledJobInfo> myJobs = jobManager.getScheduledJobs(TOPIC, 10, null);
myJobs.foreach(sji -> sji.unschedule());
@@ -337,7 +337,7 @@ public class MyComponent {
content/documentation/bundles/apache-sling-eventing-and-job-handling.md
</a>
</div> <div class="revisionInfo">
- Last modified by <span class="author">Jörg Hoh</span> on <span class="comment">2022-06-15</span>
+ Last modified by <span class="author">Jörg Hoh</span> on <span class="comment">2023-08-06</span>
</div><p>
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project
logo are trademarks of The Apache Software Foundation. All other marks mentioned
diff --git a/sitemap.xml b/sitemap.xml
index 4da51c854..9fbc0b94f 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
+ <loc>https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html</loc><lastmod>2023-08-06</lastmod>
+ </url><url>
<loc>https://sling.apache.org/releases.html</loc><lastmod>2023-08-02</lastmod>
</url><url>
<loc>https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html</loc><lastmod>2023-07-26</lastmod>
@@ -370,8 +372,6 @@
<loc>https://sling.apache.org/documentation/apidocs.html</loc><lastmod>2022-03-21</lastmod>
</url><url>
<loc>https://sling.apache.org/documentation/bundles/commons-html-utilities.html</loc><lastmod>2019-07-18</lastmod>
- </url><url>
- <loc>https://sling.apache.org/documentation/bundles/apache-sling-eventing-and-job-handling.html</loc><lastmod>2022-06-15</lastmod>
</url><url>
<loc>https://sling.apache.org/contributing.html</loc><lastmod>2022-07-01</lastmod>
</url><url>