#441 change localtime to gmtime

This commit is contained in:
Oliver Gorwits
2018-10-19 14:49:03 +01:00
parent 00ac3cff4a
commit 779e0a618d
4 changed files with 8 additions and 8 deletions

View File

@@ -137,7 +137,7 @@ foreach my $host (@hostlist) {
if ($queue_only) {
jq_insert( \@job_specs );
info sprintf '%s: queued %s jobs at %s',
$action, (scalar @job_specs), scalar localtime;
$action, (scalar @job_specs), scalar gmtime;
}
else {
foreach my $spec (@job_specs) {
@@ -152,7 +152,7 @@ else {
# do job
try {
info sprintf '%s: %s started at %s',
$action, $actiontext, scalar localtime;
$action, $actiontext, scalar gmtime;
$worker->run($job);
}
catch {
@@ -168,7 +168,7 @@ else {
);
}
info sprintf '%s: finished at %s', $action, scalar localtime;
info sprintf '%s: finished at %s', $action, scalar gmtime;
info sprintf '%s: status %s: %s', $action, $job->status, $job->log;
$exitstatus = 1 if !$exitstatus and $job->status ne 'done';
}