Making the report show the last monitor entries first.
This commit is contained in:
parent
413f2d8e5a
commit
dd1d7c783f
@ -60,7 +60,7 @@ EOF
|
||||
$message .= "\nLast hour monitor\n\n";
|
||||
my $monitor = $dbh->selectall_arrayref(
|
||||
<<'EOF', { Slice => {} }, $current_date->clone->add( hours => -1 ) . '' );
|
||||
SELECT date_execution, name, is_up FROM monitor where date_execution > ?;
|
||||
SELECT date_execution, name, is_up FROM monitor where date_execution > ? ORDER BY date_execution DESC;
|
||||
EOF
|
||||
|
||||
for my $register (@$monitor) {
|
||||
|
Loading…
Reference in New Issue
Block a user