diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php
index 33ed5ed893f..a937337e548 100644
--- a/htdocs/cron/list.php
+++ b/htdocs/cron/list.php
@@ -549,21 +549,19 @@ if ($num > 0) {
}
print '';
- $datefromto = (empty($obj->datestart) ? '' : dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver')).' - '.(empty($obj->dateend) ? '' : dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver'));
-
- print '
';
+ print ' | ';
if (!empty($obj->datestart)) {
print dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver');
}
print ' | ';
- print '';
+ print ' | ';
if (!empty($obj->dateend)) {
print dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver');
}
print ' | ';
- print '';
+ print ' | ';
if (!empty($obj->nbrun)) {
print $obj->nbrun;
} else {
@@ -574,15 +572,17 @@ if ($num > 0) {
}
print ' | ';
+ $datefromto = (empty($datelastrun) ? '' : dol_print_date($datelastrun, 'dayhour', 'tzserver')).' - '.(empty($datelastresult) ? '' : dol_print_date($datelastresult, 'dayhour', 'tzserver'));
+
// Date start last run
- print '';
+ print ' | ';
if (!empty($datelastrun)) {
print dol_print_date($datelastrun, 'dayhoursec', 'tzserver');
}
print ' | ';
// Duration
- print '';
+ print ' | ';
if (!empty($datelastresult) && ($datelastresult >= $datelastrun)) {
print convertSecondToTime(max($datelastresult - $datelastrun, 1), 'allhourminsec');
//print ' '.($datelastresult - $datelastrun).' '.$langs->trans("seconds");
@@ -590,7 +590,7 @@ if ($num > 0) {
print ' | ';
// Return code of last run
- print '';
+ print ' | ';
if ($obj->lastresult != '') {
if (empty($obj->lastresult)) {
print $obj->lastresult;
|