system scheduler add name="Layer7-disable" start-date=Jan/01/2019 start-time=00:10:00 interval=00:20:00 on-event="/system script run Layer7-disable"
system scheduler add name="Layer7-enable" start-date=Jan/01/2019 start-time=00:00:00 interval=00:20:00 on-event="/system script run Layer7-enable"
system script add name="Layer7-disable" source="/ip firewall filter set [find comment="RulesF"] disabled=yes"
system script add name="Layer7-enable" source="/ip firewall filter set [find comment="RulesF"] disabled=no"
ip firewall filter print
ip firewall filter enable number=#
Ответ отредактировал.