I would like to run a script that configures some pptp tunnels and sets the system identity, I only want to run this script once every reboot say 15 seconds after the unit starts.
How do I run the script only once?
thanks
Lee
I would like to run a script that configures some pptp tunnels and sets the system identity, I only want to run this script once every reboot say 15 seconds after the unit starts.
How do I run the script only once?
thanks
Lee
The start-time=startup will cause it to run 3 seconds after reboot.. The extra :delay command causes it to wait an additional 12 seconds then it will add “some command here” to your log file..
/ system scheduler
add name=“onreboot” on-event=“:delay 00:00:12 \r\n:log info some command here” start-time=startup interval=0s comment=“” disabled=no
more info here
Enjoy..
-Gerard
Thanks Gerard,
I couldn’t find that documented anywhere.
regards
Lee McLaren