# Claim this job, and make sure nobody else does
$Job->{'is_locked_by'} = $User->{'uuid'};
- $Job->{'started_at'} = time;
+ $Job->{'started_at'} = gmtime;
$Job->{'running'} = 1;
$Job->{'success'} = undef;
$Job->{'tasks_summary'} = { 'failed' => 0,
$Job->reload;
$Job->{'running'} = 0;
$Job->{'success'} = 0;
- $Job->{'finished_at'} = time;
+ $Job->{'finished_at'} = gmtime;
$Job->save;
}