Commit ac91783e authored by Leo Gordon's avatar Leo Gordon
Browse files

restrict to DEAD workers only

parent 02313941
......@@ -56,7 +56,7 @@ sub main {
warn "No bacct information given, finding out the time interval when the pipeline was run...\n";
my $sth_times = $dbc->prepare( 'SELECT min(born), max(died) FROM worker WHERE meadow_type="LSF"' );
my $sth_times = $dbc->prepare( 'SELECT min(born), max(died) FROM worker WHERE meadow_type="LSF" AND status="DEAD"' );
$sth_times->execute();
my ($from_time, $to_time) = $sth_times->fetchrow_array();
$sth_times->finish();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment