2020-12-07 10:20:46 +01:00
|
|
|
/system script
|
2021-01-25 16:39:23 +01:00
|
|
|
add name="pwlgrzs-blacklist-dl" source={/tool fetch url="https://raw.githubusercontent.com/pwlgrzs/Mikrotik-Blacklist/master/blacklist.rsc" mode=https}
|
2023-04-15 00:34:55 +02:00
|
|
|
add name="pwlgrzs-blacklist-replace" source {/ip firewall address-list remove [find where list="pwlgrzs-blacklist"]; /import file-name=blacklist.rsc; /file remove blacklist.rsc}
|
2020-12-07 10:20:46 +01:00
|
|
|
/system scheduler
|
2021-01-25 16:39:23 +01:00
|
|
|
add interval=7d name="dl-mt-blacklist" start-date=Jan/01/2000 start-time=00:05:00 on-event=pwlgrzs-blacklist-dl
|
2023-04-15 00:34:55 +02:00
|
|
|
add interval=7d name="ins-mt-blacklist" start-date=Jan/01/2000 start-time=00:10:00 on-event=pwlgrzs-blacklist-replace
|
|
|
|
/file remove install.rsc
|