Hello,I noticed that if i remove duration parameter the error "ERROR: <core> [tmrec.c:1320]: tr_parse_recurrence_string(): failed to parse time recurrence [20130101T080500|24H]" doesn't appear, anyone can explain me if i'm doing something wrong on tmrec_match function.
Regards
2013/12/30 José Seabra <joseseabra4@gmail.com>
Hi there,I'm trying use tmrec_match in order to create routing rules based on time, but without sucess, please have a look at my code and the errors that i got:
Code block:
if(tmrec_match("20130101T080500|24H|weekly|||MO,TU,WE,TH,FR")){xlog("L_INFO", "time match R=$ru ID=$ci\n");}
Error:
ERROR: <core> [tmrec.c:1320]: tr_parse_recurrence_string(): failed to parse time recurrence [20130101T080500|24H]
My server has the following date/hourSeg Dez 30 18:35:57 WET 2013
Thank for your help
--
CumprimentosJosé Seabra
--
CumprimentosJosé Seabra
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda