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

    commands.json | only gnome is loaded to website

    General Discussion
    2
    3
    156
    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.
    • Avishai AlgrisiA
      Avishai Algrisi
      last edited by Avishai Algrisi

      Hey,

      This is my commands.json content:

      [
        {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"},
        {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"},
        {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"},
        {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"},
        {"trigger":"startpc","command":"etherwake -i ens32 50:E5:49:E9:0F:6F","ground":"background","voice":"startpc","allowParams":"false"}
      ]
      

      and for some reason only the Gnome Editor is loaded to the website.
      I'm running Debian 10

      I'm trying like 2 hours now.
      Do you have any idea what am I doing wrong maybe?

      1 Reply Last reply Reply Quote 0
      • Avishai AlgrisiA
        Avishai Algrisi
        last edited by

        Now it's working.
        All I did was "giving up" for today.

        I have restarted debian and checked the site and only gnome was there.
        and from that moment I was watching some videos on youtube and posted this topic.

        and after like 30 minutes when I went back to the website I saw all the commands.

        Probably I've just needed to wait.

        RussR 1 Reply Last reply Reply Quote 0
        • RussR
          Russ @Avishai Algrisi
          last edited by

          @Avishai-Algrisi, I see that the only command in your commands.json file that has ground = foregound is the "Gnome Editor" command. Would explain why that one showed up while the background commands didn't.

          I suspect the background commands showed up when you installed the background agent.

          Russell VanderMey

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