com.dotmarketing.quartz.job
Class TrashCleanupJob

java.lang.Object
  extended by com.dotmarketing.quartz.job.TrashCleanupJob
All Implemented Interfaces:
org.quartz.Job

public class TrashCleanupJob
extends java.lang.Object
implements org.quartz.Job

This job will clean up the trash folder created under the dotsecure directory. It will cleanup files older than 1 hour by default. The DotScheduler will also look for THRASH_FILE_LIFESPAN to see if it should start the job or not.

Since:
1.9
Author:
David Torres (2010)

Constructor Summary
TrashCleanupJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrashCleanupJob

public TrashCleanupJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext ctx)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2013 dotCMS Inc. All Rights Reserved.