summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-02-27 20:31:24 +0000
committerivan <ivan>2011-02-27 20:31:24 +0000
commit2ea1bf50d3c8c08c208a412d9f468d9dfccb0b60 (patch)
tree0de15d7c89a2919f3fd040819bdd0fc43bcbd7d3
parentf5d9de8462352731400dbb7ab8ad39fea3b051a8 (diff)
add start of torrus srvderive daemon, RT#10574
-rw-r--r--FS/bin/freeside-torrus-srvderive1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive
index 9ecfbbc72..ce47414a6 100644
--- a/FS/bin/freeside-torrus-srvderive
+++ b/FS/bin/freeside-torrus-srvderive
@@ -48,6 +48,7 @@ my $sql = "
WHERE NOT EXISTS (
SELECT 1 FROM srvexport AS other
WHERE other.serviceid IN ( $in, $out )
+ AND srvexport.srv_date = other.srv_date
AND ABS( $_date - $other_date ) <= 60
)
ORDER BY srv_date, srv_time