P2P night and day

hello everyone
please help me can someone post here the script p2p night and day, like exmaple my p2p will enable at 11.00pm and then disable in 6am in the morning… :frowning:

thanks to all

iwantlemonjuice

not going to write it for you but here’s what you need.
Not sure if you want a queue enabled/disabled or a firewall rule

create a script that enables day and disables night - day
create a script that enables night and disables day - night
create schedule to run day script at 6 am
create schedule to run night script at 11 pm