Skip to content

Commit

Permalink
executing ansible runner artifacts clean up at fixed rate
Browse files Browse the repository at this point in the history
  • Loading branch information
dangel101 committed Jan 1, 2023
1 parent 52817f3 commit 27af0bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public void scheduleJob() {
final int HOURS_TO_MINUTES = 60;
long intervalInMinutes = Math.round(interval * HOURS_TO_MINUTES);

executor.schedule(this::checkExecutionTimeStamp,
executor.scheduleAtFixedRate(this::checkExecutionTimeStamp,
0,
intervalInMinutes,
TimeUnit.MINUTES);
}
Expand Down

0 comments on commit 27af0bd

Please sign in to comment.