added scheduler for delete old or found posts

This commit is contained in:
SlimusMinus
2026-06-25 00:48:55 +03:00
parent 6f90562982
commit ec5cc6cedd
8 changed files with 148 additions and 0 deletions

View File

@@ -2,8 +2,10 @@ package com.krylov.refound;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication(scanBasePackages = "com.krylov.refound")
@EnableScheduling
public class ReFoundApplication {
public static void main(String[] args) {