From 3ca85127e769aab283af4842117359db968d6ac4 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 16 Oct 2018 19:23:16 -0400 Subject: [PATCH] 2018-10-16 Fred Gleason * Fixed a bug in rdservice(8) that caused maintenance routines to be attempted only once per invocation. --- ChangeLog | 3 +++ rdservice/maint_routines.cpp | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9e278711..3d84107b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17789,3 +17789,6 @@ const QString &test1,const QString &name2,const QString &test2, const QString &name3,const QString &test3,const QString ¶m, bool *valid=0)' function. +2018-10-16 Fred Gleason + * Fixed a bug in rdservice(8) that caused maintenance routines + to be attempted only once per invocation. diff --git a/rdservice/maint_routines.cpp b/rdservice/maint_routines.cpp index ccdd275f..75b1e30e 100644 --- a/rdservice/maint_routines.cpp +++ b/rdservice/maint_routines.cpp @@ -34,6 +34,11 @@ void MainObject::checkMaintData() QDateTime(QDate::currentDate(),QTime::currentTime()); bool run=false; + // + // Schedule Next Maintenance Run + // + svc_maint_timer->start(GetMaintInterval()); + RunLocalMaintRoutine(); //