Community discussions

MUM Europe 2020
 
edmondyjh
just joined
Topic Author
Posts: 18
Joined: Wed Nov 09, 2016 3:29 pm

Autorun script after reboot

Fri Dec 15, 2017 8:40 am

Hi,
How do i make the script auto-run after the mikrotik reboot?
 
User avatar
che
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Fri Oct 07, 2005 1:04 pm

Re: Autorun script after reboot

Fri Dec 15, 2017 10:29 am

When you add system/scheduler you have an option to set "Start Time" to "startup". "On Event" field either calls external script (/system script run name-of-the-script) or if it's not a complex task you can enter command(s) directly in this field.
 
edmondyjh
just joined
Topic Author
Posts: 18
Joined: Wed Nov 09, 2016 3:29 pm

Re: Autorun script after reboot

Fri Dec 15, 2017 11:47 am

you got any samples which i can do it? i wish to auto-run these 3 scripts in case mikrotik got rebooted.
You do not have the required permissions to view the files attached to this post.
 
User avatar
che
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Fri Oct 07, 2005 1:04 pm

Re: Autorun script after reboot

Fri Dec 15, 2017 12:52 pm

Go to system/scheduler, click plus button and create entry like on the picture.

Image

Second script name is my guess, you edit it to fit the script name.
 
edmondyjh
just joined
Topic Author
Posts: 18
Joined: Wed Nov 09, 2016 3:29 pm

Re: Autorun script after reboot

Sat Dec 16, 2017 7:22 am

Go to system/scheduler, click plus button and create entry like on the picture.

Image

Second script name is my guess, you edit it to fit the script name.
Thanks buddy!!

Who is online

Users browsing this forum: Google Feedfetcher and 96 guests