I have some rules in Webproxy [Access] Tab. would anybody help me out that how to enable or disable these rules through script on the basis of date/time. and how can i schedule them. i am using v4.11
Please help…
Edit a comment of “scheduled based on time” to all rules that need to be disabled/enabled at a particular point in time.
Then schedule the following script at whatever time you need them to be disabled:
/ip proxy access disable [/ip proxy access find comment="scheduled based on time"]
And the following to enable them again:
/ip proxy access enable [/ip proxy access find comment="scheduled based on time"]
Thanks fewi, its helpful.
l really benefitted from this , thanks
Thank you!!!![]()
thanksssssss fewi… ![]()
thank you fewi
you are always helpful
I have another way
if you have mutliple access webproxy rules
you can schedule each one alone
schedule this script
/ip proxy access
set 0 disable=yes (or no if you want to enable the rule)
set 1 disable=yes (or no if you want to enable the rule)
etc…