Kotlin -Timer -Intervall

fixedRateTimer("timer", false, 0L, 5 * 1000){
  // write task here
  // code will execute every 5 second
}
Clean Chicken