17 lines
323 B
Plaintext
17 lines
323 B
Plaintext
{
|
|
:do {
|
|
:local debug 0;
|
|
:foreach script in=[/system/script/find where name~"update[a-zA-Z]+FromDnsCache" ] do={
|
|
:do {
|
|
/system/script/run ($script->"name");
|
|
} on-error={
|
|
if ($debug > 0) do={
|
|
:log info "error adding ";
|
|
}
|
|
}
|
|
}
|
|
} on-error={
|
|
:log info "RUNTIME Error";
|
|
}
|
|
}
|