From 5a7781abf60c473e975674c9479006005c77d7d3 Mon Sep 17 00:00:00 2001 From: horchi Date: Sat, 24 Feb 2018 18:40:05 +0100 Subject: 2018-02-23 version 1.1.90 (horchi)\n - change: improved timer cleanup\n\n --- HISTORY.h | 7 +++++-- timer.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HISTORY.h b/HISTORY.h index 1b3f6e8..160c0b7 100644 --- a/HISTORY.h +++ b/HISTORY.h @@ -5,7 +5,7 @@ * */ -#define _VERSION "1.1.89" +#define _VERSION "1.1.90" #define VERSION_DATE "24.02.2018" #define DB_API 6 @@ -19,10 +19,13 @@ /* * ------------------------------------ +2018-02-23 version 1.1.90 (horchi) + - change: improved timer cleanup + 2018-02-23 version 1.1.89 (horchi) - change: Improved switch timer 'timing' -2018-02-22 version 1.1.88 (horchi) +018-02-22 version 1.1.88 (horchi) - added: Optional switch timer notification message 2018-02-20 version 1.1.87 (horchi) diff --git a/timer.c b/timer.c index a0d6aab..d73f60a 100644 --- a/timer.c +++ b/timer.c @@ -584,7 +584,7 @@ int cUpdate::updateTimerTable() tell(1, "Updating table timers (and remove deleted and finished timers older than 2 days)"); - timerDb->deleteWhere("%s < unix_timestamp() - %d and %s in ('D','F')", + timerDb->deleteWhere("%s < unix_timestamp() - %d and %s in ('D','F','-')", timerDb->getField("UPDSP")->getDbName(), 2 * tmeSecondsPerDay, timerDb->getField("STATE")->getDbName()); -- cgit v1.2.3