package org.asg.report;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class CleanJob implements Job {
	
	private final static Logger LOGGER = Logger.getLogger(CleanJob.class);

	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		App.statuses.clear();		
		LOGGER.info("Status Queue was just cleared");
	}
	

}

@@ -193,18 +193,17 @@
 s Job %7B%0A
-%09
 %0A
+
 %09private
@@ -320,12 +320,9 @@
 ext)
-%0A%09%09%09
+ 
 thro
@@ -371,18 +371,105 @@
 clear();
-%09%09
+ // Clear statuses list%0A%09%09ReportMessageAdapter.isSentToday = false; // Remove 'sent' flag
 %0A%09%09LOGGE
@@ -512,13 +512,25 @@
 d%22);
+ //$NON-NLS-1$
 %0A%09%7D
-%0A%09
 %0A%0A%7D%0A

clear 'setnToday' flag