mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-07-30 13:11:36 +00:00
Compare commits
3 commits
03eef94c06
...
2a5da14d80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a5da14d80 | ||
|
|
230d3421d3 | ||
|
|
ba584e23a7 |
1 changed files with 0 additions and 8 deletions
|
|
@ -1336,14 +1336,6 @@
|
|||
:local ScriptInfo [ $ParseKeyValueStore ($ScriptVal->"comment") ];
|
||||
:local SourceNew;
|
||||
|
||||
:foreach Scheduler in=[ /system/scheduler/find where on-event~("\\b" . $ScriptVal->"name" . "\\b") ] do={
|
||||
:local SchedulerVal [ /system/scheduler/get $Scheduler ];
|
||||
:if ($ScriptVal->"policy" != $SchedulerVal->"policy") do={
|
||||
$LogPrint warning $0 ("Policies differ for script '" . $ScriptVal->"name" . \
|
||||
"' and its scheduler '" . $SchedulerVal->"name" . "'!");
|
||||
}
|
||||
}
|
||||
|
||||
:do {
|
||||
:if ($ScriptInfo->"ignore" = true) do={
|
||||
$LogPrint debug $0 ("Ignoring script '" . $ScriptVal->"name" . "', as requested.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue