hello,
anyone know how to make automatic shutdown script in routeros like:
i want to shutdown system automatic 3 times in a day 12:00pm, 5:30pm and then 9:30pm
waiting for reply
Arman
hello,
anyone know how to make automatic shutdown script in routeros like:
i want to shutdown system automatic 3 times in a day 12:00pm, 5:30pm and then 9:30pm
waiting for reply
Arman
After a shutdown someone has to physically go and unplug the power source, and plug it back in. Is that really what you want, or do you want to reboot? Or just block all or some traffic for a certain period of time? For what purpose?
i just want to automatic shutdown which time i want.. i will turn it on by my self…
Arman
Then try this:
/system scheduler
add start-time=12:00 start-date=jan/1/1970 interval=1d on-event="/system shutdown"
Repeat with more schedules for the other times.
I don’t know if that will work, though. The shutdown command asks for confirmation, which you cannot script. On the other hand, so does the reboot command - but it doesn’t ask for confirmation when called from a script specifically so it can be scripted. So give it a shot.
invalid value for argument start time
Play with the options until you have your desired config. The basic idea is that you can shutdown via scheduler if desired using the
on-event="/system shutdown"
property (as fewi mentioned).
thank you
Hello
How can start Mikrotik router after shutdown command?
Regards
As fewi said, you have to physically unplug and plug back in the power.
Or, remotely you could use a networked UPS or power strip like the ones from digital loggers: http://www.digital-loggers.com/lpc.html
If you’re running on a PC, one option is to use the Wake On LAN facility offerred by most networking cards.
RouterBOARD may support this feature as well (though I have not confirmed this).