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