i don't understand this request. the whole point of this script is to keep mining uptime at 100% or close to it as possible. if you want to NOT mine, i would suggest another alternative.
Easy: I am limited by total power consumption in my building and there are specific moments in the day where I cannot run my miners and the other electrical appliances. So I want to stop my miners at these moments.