update daily idle cron
This commit is contained in:
parent
85d31e690c
commit
aeb38bf2b6
@ -25,7 +25,7 @@
|
|||||||
and account != 'SYSTEM'
|
and account != 'SYSTEM'
|
||||||
group by tenant_id, account
|
group by tenant_id, account
|
||||||
having
|
having
|
||||||
<![CDATA[ call_time < now() - interval 15 minute ]]>
|
<![CDATA[ call_time < now() - interval 1 hour ]]>
|
||||||
) cdr
|
) cdr
|
||||||
|
|
||||||
on a.tenant_id = cdr.tenant_id
|
on a.tenant_id = cdr.tenant_id
|
||||||
|
@ -138,7 +138,9 @@ public class AgentStatusScheduleServiceImpl implements AgentStatusScheduleServic
|
|||||||
agentStatusMapper.acwCleanup();
|
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() {
|
public void agentDailyIdleDetailGenerate() {
|
||||||
agentDailyIdleDetailMapper.generate();
|
agentDailyIdleDetailMapper.generate();
|
||||||
agentDailyIdleDetailMapper.cleanup();
|
agentDailyIdleDetailMapper.cleanup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user