diff --git a/app/src/main/kotlin/com/wbrawner/twigs/server/Application.kt b/app/src/main/kotlin/com/wbrawner/twigs/server/Application.kt index d2647d9..d4cdfda 100644 --- a/app/src/main/kotlin/com/wbrawner/twigs/server/Application.kt +++ b/app/src/main/kotlin/com/wbrawner/twigs/server/Application.kt @@ -138,8 +138,8 @@ fun Application.moduleWithDependencies( RecurringTransactionProcessingJob(recurringTransactionRepository, transactionRepository) ) while (currentCoroutineContext().isActive) { - delay(Duration.hours(24)) jobs.forEach { it.run() } + delay(Duration.hours(24)) } } }