TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Command run but nothing happens

    Raspberry Pi
    2
    4
    309
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Matúš MaronM
      Matúš Maron
      last edited by

      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
      2.png 1.png

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Matúš Maron
        last edited by

        @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.

        Russell VanderMey

        Matúš MaronM 1 Reply Last reply Reply Quote 0
        • Matúš MaronM
          Matúš Maron @Russ
          last edited by

          @russ Nevermind, I figure it out. I simplyfied the command on "wakeonlan MAC". But thanks anyway.

          RussR 1 Reply Last reply Reply Quote 0
          • RussR
            Russ @Matúš Maron
            last edited by

            @matúš-maron, no problem. I'm glad you figured it out.

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • First post
              Last post