Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
6f757efc
Commit
6f757efc
authored
Apr 15, 2014
by
Leo Gordon
Browse files
bugfix: add one more minute to account for later reports
parent
fa6a1518
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/lsf_report.pl
scripts/lsf_report.pl
+2
-2
No files found.
scripts/lsf_report.pl
View file @
6f757efc
...
...
@@ -133,8 +133,8 @@ sub main {
warn
"
No bacct information given, finding out the time interval when the pipeline was run on '
$this_lsf_farm
' ...
\n
";
my
$offset_died_expression
=
(
$dbc
->
driver
eq
'
sqlite
')
?
"
datetime(max(died), '+
1
minute')
"
:
"
FROM_UNIXTIME(UNIX_TIMESTAMP(max(died))+
6
0)
";
?
"
datetime(max(died), '+
2
minute
s
')
"
:
"
FROM_UNIXTIME(UNIX_TIMESTAMP(max(died))+
12
0)
";
my
$sth_times
=
$dbc
->
prepare
(
"
SELECT min(born),
$offset_died_expression
FROM worker WHERE meadow_type='LSF' AND meadow_name='
$this_lsf_farm
' AND status='DEAD'
"
);
$sth_times
->
execute
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment