What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Send WoL at a certain time with AsusWRT?

Huberer

Occasional Visitor
Hello,

couple of days ago I've switched from TomatoUSB to Asuswrt from Merlin (Fork release). What I miss within AsusWRT is that I can't set up a WoL-command via webgui at a certain time (scheduled command). I want to send a wol signal to my (hibernated) server every day at 3 p.m.
How can I fix this with AsusWRT?

Thanks in advance
Huberer

Edit: now I believe what to do. I created a "wake.sh" with following text code within /jffs/scripts:

#!/bin/sh

/usr/bin/ether-wake -i br0 macoflan

now I have to find the command for a cron job to start this script every day at 3 pm (15.00 hrs)

Edit2: in the meantime I've added following command to /jffs/scripts/services-start
cru a wake "0 15 * * * /jffs/scripts/wake.sh"

and with "cru l" I get this message via telnet
0 15 * * * /jffs/scripts/wake.sh #wake#

It looks like that I got the job done. If not please can someone help me with the correct commands. That would be great because I'm a noob in linux.
 
Last edited:

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top