diff options
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | initial-commands | 5 |
2 files changed, 3 insertions, 7 deletions
@@ -92,12 +92,11 @@ your mails to `mail@example.com`! [admin@MikroTik] > / system script edit global-config source -And finally load configuration and functions and add the schedulers. +And finally load configuration and functions and add the scheduler. [admin@MikroTik] > / system script run global-config [admin@MikroTik] > / system script run global-functions - [admin@MikroTik] > / system scheduler add name="global-config" start-time=startup on-event="/ system script run global-config;" - [admin@MikroTik] > / system scheduler add name="global-functions" start-time=startup on-event="/ system script run global-functions;" + [admin@MikroTik] > / system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-functions; }" Updating scripts ---------------- diff --git a/initial-commands b/initial-commands index f8dd825..335dbad 100644 --- a/initial-commands +++ b/initial-commands @@ -22,8 +22,5 @@ run global-config; run global-functions; } - / system scheduler { - add name="global-config" start-time=startup on-event="/ system script run global-config;"; - add name="global-functions" start-time=startup on-event="/ system script run global-functions;"; - } + / system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-functions; }" } |