mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-10 11:59:29 +00:00
global-functions: add and fix global scheduler automatically...
... and also adjust README and INITIAL-COMMANDS.
This commit is contained in:
parent
f5fe673605
commit
174de528af
5 changed files with 12 additions and 6 deletions
|
|
@ -129,12 +129,12 @@ Now let's download the main scripts and add them in configuration on the fly.
|
|||
|
||||

|
||||
|
||||
And finally load configuration and functions and add the scheduler.
|
||||
And finally run configuration and functions. This will also add the
|
||||
scheduler for loading at system startup automatically.
|
||||
|
||||
/system/script { run global-config; run global-functions; };
|
||||
/system/scheduler/add name="global-scripts" start-time=startup on-event="/system/script { run global-config; run global-functions; }";
|
||||
|
||||

|
||||

|
||||
|
||||
> 💡️ **Hint**: You see complaints regarding syntax errors? Most likely the
|
||||
> RouterOS on your device is too old. Check for updates!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue