Call Forwarding for Queues

I want to forward calls that come in a queue to an outer destination, at a certain period of time, when all the agents log off the queue. I have considered using time groups, but I am not sure how it will work, for the fact that I have more than one queue, and I don’t see any option there to divide the destinations from the incoming source.
Is there any solution about this?