The gate to manage the working time in cavegate