}
@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");
}
} catch (DAOException e) {
Epgd.error("Wystapił błąd bazy: " + e.getMessage());