diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /bin/countdeclines | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'bin/countdeclines')
-rwxr-xr-x | bin/countdeclines | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/countdeclines b/bin/countdeclines deleted file mode 100755 index bbc392560..000000000 --- a/bin/countdeclines +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/perl - -use Date::Parse; - -my $e = 'PlugnPay error: 97: Declined for CVV failure'; -my @y = (2008,2009); - -my $p = 0; - -foreach my $y (@y) { - foreach my $m (1..12) { - my $d = "$m/1/$y"; - my $t = str2time($d); - - #print "$pd-$d: SELECT count(*) from cust_bill_event where statustext = '$e' and _date >= $p and _date < $t;\n" - print "SELECT count(*) from cust_bill_event where statustext = '$e' and _date >= $p and _date < $t;\n" - if $p; - - $p = $t; - $pd = $d; - } -} |