Auto enable firewall rule using scheduler after x no of days

Hi, Is there a way or a script i can use to get scheduler to auto enable a drop connection firewall rule after lets say after 10 days?

Yes you can do it many ways.

Example. Create a filter rule that drops the connection, set it to disabled and add a comment (importante) to something. Here I do use “Test”

Then make a script that will enable this rule.

{
/ip firewall filter
set disabled=no [find where comment="Test"]
}

All in one line

/ip firewall filter set disabled=no [/ip firewall filter find where comment="Test"]

Then make a schedule to run in 10 days from now and add 0 sec for interval to run it only once.

Thanks it worked.