diff -up rsyslog-3.18.1/action.c.clock rsyslog-3.18.1/action.c
--- rsyslog-3.18.1/action.c.clock 2008-08-28 10:08:55.000000000 +0200
+++ rsyslog-3.18.1/action.c 2008-08-28 10:09:07.000000000 +0200
@@ -544,6 +544,10 @@ actionWriteToAction(action_t *pAction)
dbgprintf("Called action, logging to %s", module.GetStateName(pAction->pMod));
time(&now); /* we need this for message repeation processing AND $ActionExecOnlyOnceEveryInterval */
+ if(pAction->tLastExec > now) {
+ /* if we are traveling back in time, reset tLastExec */
+ pAction->tLastExec = (time_t) 0;
+ }
/* now check if we need to drop the message because otherwise the action would be too
* frequently called. -- rgerhards, 2008-04-08
*/