Page 1 of 1

Autorun script after reboot

Posted: Fri Dec 15, 2017 8:40 am
by edmondyjh
Hi,
How do i make the script auto-run after the mikrotik reboot?

Re: Autorun script after reboot

Posted: Fri Dec 15, 2017 10:29 am
by che
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.

Re: Autorun script after reboot

Posted: Fri Dec 15, 2017 11:47 am
by edmondyjh
you got any samples which i can do it? i wish to auto-run these 3 scripts in case mikrotik got rebooted.

Re: Autorun script after reboot

Posted: Fri Dec 15, 2017 12:52 pm
by che
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.

Re: Autorun script after reboot

Posted: Sat Dec 16, 2017 7:22 am
by edmondyjh
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!!