Page 1 of 1
Wake up lan 7:00pm
Posted: Thu Feb 08, 2024 9:41 am
by Rey2023
Hello:
I'm looking for a script that allows me to wake up a PC every day at a certain time.
eth2 mac: xx xx xx xx xx wake up 7:00 every day
Re: Wake up lan 7:00pm
Posted: Thu Feb 08, 2024 9:44 am
by normis
You mean the Wake on LAN feature? First test if the command does what you need it to do.
[normis@MikroTik] > tool/wol interface=bridge mac=
If yes, then add this command to the "on-event" field of "/system/scheduler" and set the time, when it should be run.
Re: Wake up lan 7:00pm
Posted: Thu Feb 08, 2024 9:49 am
by Limer
ROS7 style

/system/scheduler/add disabled=no interval=24h name=wol on-event="tool/wol mac=xx:xx:xx:xx:xx:xx interface=xxxx" start-time=07:00:00