Class CleanupJobsScheduledJob
java.lang.Object
com.bluebell.greenhouse.radicle.scheduled.impl.CleanupJobsScheduledJob
- All Implemented Interfaces:
GenericScheduledJob
@Component
@ConditionalOnProperty(name="bluebell.jobs.scheduler.enabled",
havingValue="true",
matchIfMissing=true)
public class CleanupJobsScheduledJob
extends Object
implements GenericScheduledJob
Submits the durable job that clears stale and expired job history.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Submits the cleanup job on its configured schedule.
-
Constructor Details
-
CleanupJobsScheduledJob
public CleanupJobsScheduledJob()
-
-
Method Details
-
execute
@Scheduled(cron="${bluebell.jobs.schedule.cleanup-stale-jobs.cron}", zone="${bluebell.jobs.schedule.cleanup-stale-jobs.zone}") public void execute()Submits the cleanup job on its configured schedule.- Specified by:
executein interfaceGenericScheduledJob
-