From 56137c333479b553ac4ed5338e14dfd1eb37941a Mon Sep 17 00:00:00 2001 From: gaobinzhan Date: Tue, 22 Dec 2020 13:07:01 +0800 Subject: [PATCH] crontab command show --- src/Command/DefaultCommand/Crontab.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Command/DefaultCommand/Crontab.php b/src/Command/DefaultCommand/Crontab.php index 2530199d..045f1cfe 100644 --- a/src/Command/DefaultCommand/Crontab.php +++ b/src/Command/DefaultCommand/Crontab.php @@ -89,6 +89,7 @@ protected function show() $data = $package->getArgs(); foreach ($data as $k => $v) { $v['taskNextRunTime'] = date('Y-m-d H:i:s', $v['taskNextRunTime']); + $v['currentRunTime'] = date('Y-m-d H:i:s', $v['currentRunTime']); $data[$k] = array_merge(['taskName' => $k], $v); } return new ArrayToTextTable($data);