[freeside-commits] freeside/FS/bin freeside-torrus-srvderive, 1.13, 1.14
Ivan,,,
ivan at wavetail.420.am
Sun Feb 27 11:46:13 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv29334/FS/bin
Modified Files:
freeside-torrus-srvderive
Log Message:
add start of torrus srvderive daemon, RT#10574
Index: freeside-torrus-srvderive
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-torrus-srvderive,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- freeside-torrus-srvderive 27 Feb 2011 19:39:26 -0000 1.13
+++ freeside-torrus-srvderive 27 Feb 2011 19:46:11 -0000 1.14
@@ -94,14 +94,15 @@
";
my @param = ( time2str('%Y-%m-%d', $cur), #srv_date
time2str('%X', $cur), #srv_time
- $serviceid,
+ "$serviceid$dir",
300, #intvl ...
);
- warn $isql. ' with param '. @param. "\n"
+ warn $isql. ' with param '. join(',', at param). "\n"
if $DEBUG > 1;
my $isth = dbh->prepare($isql) or die $DBI::errstr; #better recovery?
$isth->execute( @param ) or die $isth->errstr;
+ dbh->commit or die dbh->errstr;
}
More information about the freeside-commits
mailing list