Class ScheduleService

java.lang.Object
org.qubership.atp.mia.service.ScheduleService

@Service public class ScheduleService extends Object
  • Constructor Details

    • ScheduleService

      public ScheduleService()
  • Method Details

    • cleanDb

      @Scheduled(cron="${atp.mia.cron.clean.gridfs}") public void cleanDb()
      Run clean files from gridFs according to cron job.
    • cleanLogs

      @Scheduled(cron="${atp.mia.cron.clean.logs}") public void cleanLogs()
      Run clean files from gridFs according to cron job.
    • cleanPostgresqlPot

      @Scheduled(cron="${atp.mia.cron.clean.postgresql}") public void cleanPostgresqlPot()
      Clean Postgres table with old POT sessions.