|
@@ -343,7 +343,12 @@ static UA_UInt16 processRepeatedJobs(UA_Server *server) {
|
|
|
|
|
|
processJobs(server, &tw->jobs[i].job, 1);
|
|
|
#endif
|
|
|
+
|
|
|
+
|
|
|
tw->nextTime += tw->interval;
|
|
|
+ if(tw->nextTime < current)
|
|
|
+ tw->nextTime = current;
|
|
|
+
|
|
|
|
|
|
struct RepeatedJobs *prevTw = LIST_FIRST(&server->repeatedJobs);
|
|
|
while(UA_TRUE) {
|