Skip to content

Commit

Permalink
Fixes scheduled job executing only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy--S committed Dec 5, 2023
1 parent c106bb5 commit 01190a4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ public void run() {
// remove the job
if (autoRemove) {
service.removeScheduledJob(jobName);
// clear the map
jobDataMap.clear();
}
// clear the map
jobDataMap.clear();

}
}

Expand Down

0 comments on commit 01190a4

Please sign in to comment.