How to change Queue Tree max-limit using scheduler scripts?

I would like to change the parent queue tree max-limit every 12 hours automatically, how can I do that using the scheduler?

Post your question under the Scripting section. There is an active group that likes to do that.