Community discussions

MikroTik App
 
lnc1995
just joined
Topic Author
Posts: 8
Joined: Sat Dec 10, 2022 1:48 am

Add an option "Start on boot after XXX milliseconds"

Sun Apr 21, 2024 11:16 pm

Some container trigger start on boot when the system is not fully started, which will cause startup failure. I know we can use scripts to delay start, but this method is not elegant enough. Strictly speaking, this is a functionality lack of Container module. Hope the official can add an input box for "start on boot after XXX milliseconds" as the picture shows
1.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
antonsb
MikroTik Support
MikroTik Support
Posts: 388
Joined: Sun Jul 24, 2016 3:12 pm
Location: Riga, Latvia

Re: Add an option "Start on boot after XXX milliseconds"

Tue Apr 23, 2024 9:59 am

you can use scheduler for this
/system scheduler
add name=schedule3 on-event="/container print;\r\
    \n:delay 1\r\
    \n/container start number=0"  start-time=startup

Who is online

Users browsing this forum: No registered users and 4 guests