Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

kotless scheduled event

@Scheduled(Scheduled.everyHour)
fun storageCleanup() {
    logger.info("Starting storage cleanup")
    Storage.cleanup()
    logger.info("Ended storage cleanup")
}
Source by site.kotless.io #
 
PREVIOUS NEXT
Tagged: #kotless #scheduled #event
ADD COMMENT
Topic
Name
9+7 =