projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix spawn_cmd in Cron so anyone can use it
[spider.git]
/
perl
/
DXCron.pm
diff --git
a/perl/DXCron.pm
b/perl/DXCron.pm
index d2a109332aa2a89206b72463ba27af618bb25849..16d27cddd03f051cad1feaa3dc7e0b37ac008644 100644
(file)
--- a/
perl/DXCron.pm
+++ b/
perl/DXCron.pm
@@
-305,7
+305,6
@@
sub spawn_cmd
}
for (@res) {
if (ref $chan) {
}
for (@res) {
if (ref $chan) {
- dbg("send: $_");
$chan->send($_);
} elsif (isdbg('cron')) {
dbg("$pkg::spawn_cmd: $_");
$chan->send($_);
} elsif (isdbg('cron')) {
dbg("$pkg::spawn_cmd: $_");
@@
-316,6
+315,7
@@
sub spawn_cmd
diffms($pkg, "::spawn_cmd", $line, $t0, scalar @res) if isdbg('progress');
}
);
diffms($pkg, "::spawn_cmd", $line, $t0, scalar @res) if isdbg('progress');
}
);
+ return ();
}
# do an rcmd to another cluster from the crontab
}
# do an rcmd to another cluster from the crontab