mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
README: optional scheduler to update scripts automatically
This commit is contained in:
@ -26,6 +26,10 @@ procedure please follow [the long way in detail](README.md#the-long-way-in-detai
|
|||||||
$CertificateNameByCN "DST Root CA X3";
|
$CertificateNameByCN "DST Root CA X3";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Optional to update the scripts automatically:
|
||||||
|
|
||||||
|
/ system scheduler add name="ScriptInstallUpdate" start-time=startup interval=1d on-event=":global ScriptInstallUpdate; \$ScriptInstallUpdate;";
|
||||||
|
|
||||||
---
|
---
|
||||||
[◀ Go back to main README](README.md)
|
[◀ Go back to main README](README.md)
|
||||||
[▲ Go back to top](#top)
|
[▲ Go back to top](#top)
|
||||||
|
@ -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 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; }"
|
[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
|
Updating scripts
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user