projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635831f
)
use gmtime instead of unixtime to report timestamps
author
Tom Clegg <tom@clinicalfuture.com>
Thu, 6 Jun 2013 15:19:36 +0000
(11:19 -0400)
committer
Tom Clegg <tom@clinicalfuture.com>
Thu, 6 Jun 2013 16:46:14 +0000
(12:46 -0400)
services/crunch/crunch-job
patch
|
blob
|
history
diff --git
a/services/crunch/crunch-job
b/services/crunch/crunch-job
index 60aadcc7a572365ecf80c6dda5eb8355754bd167..38176569d0dcf4c9bb1fe535fc887fbc0c7c0e5d 100755
(executable)
--- a/
services/crunch/crunch-job
+++ b/
services/crunch/crunch-job
@@
-223,7
+223,7
@@
if ($job_has_uuid)
# Claim this job, and make sure nobody else does
$Job->{'is_locked_by'} = $User->{'uuid'};
- $Job->{'started_at'} = time;
+ $Job->{'started_at'} =
gm
time;
$Job->{'running'} = 1;
$Job->{'success'} = undef;
$Job->{'tasks_summary'} = { 'failed' => 0,
@@
-1115,7
+1115,7
@@
sub cleanup
$Job->reload;
$Job->{'running'} = 0;
$Job->{'success'} = 0;
- $Job->{'finished_at'} = time;
+ $Job->{'finished_at'} =
gm
time;
$Job->save;
}