I had created a script using ubus commands after looking on the wiki and have it all working now from a cron job thanks.
I'm wondering if the feature could be added to do this from Luci much like how it works with the firewall so one would not have to play with scripts and set up cronjobs?
I have created a issue under the luci github repo as below:
I cannot tell, it seems to me like a very specific requirement.
Time matching options in firewall are already implemented in iptables/nftables.
In your case someone should write that from scratch.