mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-02 07:03:40 +00:00
fix: 修复最后执行时间不更新的问题 (#9694)
Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
This commit is contained in:
parent
a4e920e410
commit
ddcd09c6a6
@ -118,7 +118,7 @@ class Job(JMSOrgBaseModel, PeriodTaskModelMixin):
|
||||
|
||||
@property
|
||||
def last_execution(self):
|
||||
return self.executions.last()
|
||||
return self.executions.first()
|
||||
|
||||
@property
|
||||
def date_last_run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user