- bprun --curses
- Terminology: machine vs. host
- Detector of orphans (unused queue dirs, jobs on non-existent machines, non-queued jobs)
-- use job->name
update_status($mach, $jid, 'RUN', $queue);
my $lf = $queue->log_file($mach, $jid);
- system 'bash', '-o', 'pipefail', '-c', "$BEX::Config::ssh_command -t $host '$rtmp ; e=\$? ; rm -f $rtmp ; exit \$e' 2>&1 | tee -a $lf";
+ system 'bash', '-o', 'pipefail', '-c', "$BEX::Config::ssh_command $host '$rtmp ; e=\$? ; rm -f $rtmp ; exit \$e' 2>&1 | tee -a $lf";
if ($?) {
return ('FAILED', 'Job failed ' . exit_status($?));
} else {
my $stat = {
'Time' => time,
};
- print "### Running $jid (", $job->attr('Subject'), ") on $mach ###\n";
+ print "### Running ", $job->name, " on $mach ###\n";
my ($s, $msg) = run_job($job, $queue, $mach);
$stat->{'Status'} = $s;