aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-01 22:20:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-01 22:20:02 +0100
commitf2e16a92d1675de790de591788e62ed3f586fc3a (patch)
tree242dd1877924720a785ef255f9a74f53c3f5ce4f /README.md
parentdf66309281544675ee998f6fb20fa711b67c26e9 (diff)
README: optional scheduler to update scripts automatically
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2c12b45..9aa0bb8 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,11 @@ And finally load configuration and functions and add the scheduler.
[admin@MikroTik] > / system script { run global-config; run global-config-overlay; run global-functions; }
[admin@MikroTik] > / system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-config-overlay; run global-functions; }"
+The last step is optional: Add this scheduler **only** if you want the scripts
+to be updated automatically!
+
+ [admin@MikroTik] > / system scheduler add name="ScriptInstallUpdate" start-time=startup interval=1d on-event=":global ScriptInstallUpdate; \$ScriptInstallUpdate;"
+
Updating scripts
----------------