Skip to content
Snippets Groups Projects
Commit 01190a44 authored by Andy--S's avatar Andy--S
Browse files

Fixes scheduled job executing only once.

parent c106bb5b
Branches
No related tags found
No related merge requests found
......@@ -65,9 +65,10 @@ public class JDKSchedulingServiceJob implements Runnable {
// remove the job
if (autoRemove) {
service.removeScheduledJob(jobName);
// clear the map
jobDataMap.clear();
}
// clear the map
jobDataMap.clear();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment