Class TargetCleanupTask
java.lang.Object
org.craftercms.deployer.impl.tasks.TargetCleanupTask
@Component
@ConditionalOnProperty("deployer.main.targets.cleanup.enabled")
public class TargetCleanupTask
extends Object
Triggers the cleanup of all target repositories.
- Author:
- joseross
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Performs a cleanup on all loaded targets.
-
Field Details
-
targetService
-
-
Constructor Details
-
TargetCleanupTask
public TargetCleanupTask()
-
-
Method Details
-
cleanupAllTargets
@Scheduled(cron="${deployer.main.targets.cleanup.cron}") public void cleanupAllTargets()Performs a cleanup on all loaded targets.
-