projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a1ce0a0
)
add start of torrus srvderive daemon, RT#10574
author
ivan
<ivan>
Sun, 27 Feb 2011 19:46:11 +0000
(19:46 +0000)
committer
ivan
<ivan>
Sun, 27 Feb 2011 19:46:11 +0000
(19:46 +0000)
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
516df55
..
2316df5
100644
(file)
--- a/
FS/bin/freeside-torrus-srvderive
+++ b/
FS/bin/freeside-torrus-srvderive
@@
-94,14
+94,15
@@
while (1) {
";
my @param = ( time2str('%Y-%m-%d', $cur), #srv_date
time2str('%X', $cur), #srv_time
";
my @param = ( time2str('%Y-%m-%d', $cur), #srv_date
time2str('%X', $cur), #srv_time
-
$serviceid
,
+
"$serviceid$dir"
,
300, #intvl ...
);
300, #intvl ...
);
- warn $isql. ' with param '.
@param
. "\n"
+ warn $isql. ' with param '.
join(',',@param)
. "\n"
if $DEBUG > 1;
my $isth = dbh->prepare($isql) or die $DBI::errstr; #better recovery?
$isth->execute( @param ) or die $isth->errstr;
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;
}
}