this.myConfig = config;
}
@Override
public void run() {
DAOFactory dbase = DAOFactory.getInstance(Epgd.config.database);
ProgramDAO programDAO = dbase.getProgramDAO();
try {
boolean result = programDAO.deleteOlderThan(myConfig.olderThanDays);
if (result) {
Epgd.log("Pomyślnie usunieto ostatnie " + myConfig.olderThanDays + " dni z EPG");