Hi farnaz,
in fact, you should be checking your buffer at the beginning of the period 10-11. If all machines stop at 10, entities will stop flowing shortly after. Therefore you could check around 10:05 or somewhere around the beginning of the period.
To do so, you can use a timer (Definitions>Elements>Timer) and set it to occur every 24h with an offset of 20h05m (10:05PM)). Then, have a process being triggered by that timer. In that process you would check if the input buffer was empty or not (Server.InputBuffer.Contents==0). You can do that using a Decide step.
If the condition is false (there is something in the buffer) change the resource state + Capacity of the server so that it processes said entity. For it to work for another hour you could set another timer or use a paralell process with a delay of 55min. At the end of that time you would turn off the server again.
Hope this helps (I haven't tested it to be sure it works)