[dev] Hard coded timer in Generic Agent for OTRS 2.0.4
Laurent Hiesse
laurent.hiesse at artesys-osiex.com
Fri Sep 15 12:00:15 CEST 2006
Hi,
We noticed a strange behaviour with our GenericEgent scheduled task if they
were to use a 10 minutes interval : we found in the GenericAgent.pl file
some hard-coded « timer » equal to 10 minutes that would explain this :
should a task be re-executed about 9m59secs later (because of system latency
at the former run), OTRS would declare it already finished".
if ($DBJobRaw{ScheduleLastRunUnixTime} && $CurrentTime <
$DBJobRaw{ScheduleLastRunUnixTime}+(10*60))
We fiwed it by changing the timer to 5 minutes (5*60), but as we found no
notes of this control feature in the documentation I send you this.
I dont know if its fixed in the current release, but I warn just in case.
Regards,
Laurent Hiesse
More information about the dev
mailing list