mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Add run time to scheduled import/export last run info
This commit is contained in:
parent
3ca10ad0c5
commit
cd96a14674
@ -127,6 +127,7 @@
|
||||
if(is_array($async[$id]['data'])) {
|
||||
$data += $async[$id]['data'];
|
||||
$data['schedule'] = $async[$id]['times'];
|
||||
unset($data['times']);
|
||||
|
||||
// Async sometimes changes minutes to an array - show user what they typed
|
||||
if(is_array($data['schedule']['min'])) $data['schedule']['min'] = $data['min'];
|
||||
@ -480,6 +481,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Run time in minutes
|
||||
$data['run_time'] = (time() - $data['last_run']) / 60;
|
||||
|
||||
// Update job with results
|
||||
self::update_job($data);
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user