update daily idle cron
This commit is contained in:
parent
85d31e690c
commit
aeb38bf2b6
@ -25,7 +25,7 @@
|
||||
and account != 'SYSTEM'
|
||||
group by tenant_id, account
|
||||
having
|
||||
<![CDATA[ call_time < now() - interval 15 minute ]]>
|
||||
<![CDATA[ call_time < now() - interval 1 hour ]]>
|
||||
) cdr
|
||||
|
||||
on a.tenant_id = cdr.tenant_id
|
||||
|
@ -138,7 +138,9 @@ public class AgentStatusScheduleServiceImpl implements AgentStatusScheduleServic
|
||||
agentStatusMapper.acwCleanup();
|
||||
}
|
||||
|
||||
@Scheduled(cron = "${yo.state.agent.daily-idle-detail.cron:0 */2 9-12,14-19 * * *}")
|
||||
@Scheduled(cron = "0 */2 10-12,15-19 * * *")
|
||||
@Scheduled(cron = "0 15-59/2 9,14 * * *")
|
||||
@Scheduled(cron = "0 0-45/2 12,19 * * *")
|
||||
public void agentDailyIdleDetailGenerate() {
|
||||
agentDailyIdleDetailMapper.generate();
|
||||
agentDailyIdleDetailMapper.cleanup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user