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
/system scheduler
add start-time=12:00 start-date=jan/1/1970 interval=1d on-event="/system shutdown"
Play with the options until you have your desired config. The basic idea is that you can shutdown via scheduler if desired using theinvalid value for argument start time
on-event="/system shutdown"
Then try this:
Repeat with more schedules for the other times.Code: Select all/system scheduler add start-time=12:00 start-date=jan/1/1970 interval=1d on-event="/system shutdown"
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.