Command run but nothing happens
-
Hi,
I dont know what I am doing wrong. I have triggercmd installed as root also deamon installed. I am trying to trigger wakeonlan bash script through IFTTT. Script is fully executeble with chmod +x. When a trigger it, it run command whithout problem, but my PC dont wake up. Script is fully working, my PC wake up when I run scipt through basic Terminal. What am I doing wrong? Thanks
-
@matúš-maron, can you show me your WOL1.sh script?
Also, please add a command to it like this, so you'll be able to confirm it's actually running:
echo "WOL1 ran" >> /tmp/wol1.log
If the /tmp/wol1.log shows the command is running, then maybe the WOL1.sh script is running with a different value for the PATH environment variable, so maybe it can't find the wakeonlan command. If that's the case, you could solve it by specifying the full path to wakeonlan when you run it.
-
@russ Nevermind, I figure it out. I simplyfied the command on "wakeonlan MAC". But thanks anyway.
-
@matúš-maron, no problem. I'm glad you figured it out.