Commit c7c5da2e authored by Christian Hesse's avatar Christian Hesse

README: add just one scheduler for global scripts

parent a7c498a9
......@@ -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
----------------
......
......@@ -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; }"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment