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

    Command run but nothing happens

    Scheduled Pinned Locked Moved Raspberry Pi
    4 Posts 2 Posters 1.2k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post