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

Question

General Discussion
2
14
548
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.
  • S
    Smart Communities
    last edited by Jan 23, 2023, 6:29 PM

    Russ, Why cant I see the default reboot command in my trigger list?

    At first I thought it was because I needed to install background agent. After install, it still doesn't show until I change it to foreground command.

    Requests for future considerations

    • Push new commands/triggers from account dashboard to PC
    • Now that we have date created is it possible to have date last online?
    R 1 Reply Last reply Jan 23, 2023, 11:12 PM Reply Quote 0
    • R
      Russ @Smart Communities
      last edited by Russ Jan 23, 2023, 11:12 PM Jan 23, 2023, 11:12 PM

      @Smart-Communities, can said you installed the background agent, but will you you please verify you have a Windows service called TRIGGERcmdAgent and it's started?

      The background agent is responsible for running background commands, and including them in your list of commands on the website.

      About pushing new commands from the account dashboard to the PC - long ago I decided that would be too risky security-wise. If someone got ahold of your password they could run any command they wanted on your computer. That could be dangerous.

      I think I could add a field on the computer showing the last time it was online. I'll look into it.

      Russell VanderMey

      S 2 Replies Last reply Jan 24, 2023, 5:28 PM Reply Quote 0
      • S
        Smart Communities @Russ
        last edited by Jan 24, 2023, 5:28 PM

        @Russ yes Triggercmd PID 1440 is running with Startup set to automatic.

        My trigger list only shows notepad and calculator.

        This has always been the case for me but I thought it was because I was using Windows AME. This is on a standard win 11 install.

        R 1 Reply Last reply Jan 25, 2023, 3:17 AM Reply Quote 0
        • R
          Russ @Smart Communities
          last edited by Russ Jan 27, 2023, 1:03 AM Jan 25, 2023, 3:17 AM

          @Smart-Communities, can you send a screenshot of the Windows service like this?

          01054071-f1bf-4a2b-859e-cc9e9a13ba44-image.png

          I'll test on my Windows 11 box tomorrow.

          I just tried running this d:\tools\logger.bat script in the background agent and it worked, but this is a Windows 10 machine.

          247551ad-405d-4e0c-95a2-aef4b3a14a18-image.png

          The d:\tools\logger.bat script just has this line in it:

          echo from background >> c:\background_log.txt
          

          I see this in my c:\background_log.txt file:

          from background
          

          EDIT:
          I installed the background agent on my Windows 11 box, and created my logger command as a background command. The trigger showed up in my account. I tried running it and it worked for me. I got an entry in my log when it ran.

          So I'm not sure what's going wrong on your Windows 11 machine. You could try removing and re-installing your background agent.

          Russell VanderMey

          S 1 Reply Last reply Feb 5, 2023, 5:03 PM Reply Quote 0
          • S
            Smart Communities
            last edited by Smart Communities Jan 31, 2023, 5:19 PM Jan 28, 2023, 9:33 PM

            I got you a couple of screenshots. Hope this helps.

            Agent running
            anydesk00003.png
            @Russ
            Default task still on pc
            anydesk00002.png

            pc name
            anydesk00001.png

            Triggercmd account
            Screenshot 2023-01-28 at 4.26.37 PM.png

            1 Reply Last reply Reply Quote 0
            • S
              Smart Communities @Russ
              last edited by Smart Communities Jan 31, 2023, 5:20 PM Jan 28, 2023, 11:17 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S
                Smart Communities @Russ
                last edited by Feb 5, 2023, 5:03 PM

                @Russ any idea where I’m messing up?

                R 1 Reply Last reply Feb 5, 2023, 10:00 PM Reply Quote 0
                • R
                  Russ @Smart Communities
                  last edited by Russ Feb 6, 2023, 12:57 AM Feb 5, 2023, 10:00 PM

                  @Smart-Communities, I don't think you're doing anything wrong, but I don't know yet what went wrong.

                  Can you try two things?

                  1. Rename the background command and see if it shows up.

                  If it doesn't, try:

                  1. Uninstall and reinstall the background agent and see if it shows up.

                  Russell VanderMey

                  S 1 Reply Last reply Feb 6, 2023, 4:20 PM Reply Quote 0
                  • S
                    Smart Communities @Russ
                    last edited by Feb 6, 2023, 4:20 PM

                    @Russ neither of those worked but here's what did.

                    I ran "update agent" which stated Background service must be reinstalled once update is complete. Upon reinstalling background service after the update I was able to see the background command.

                    My triggercmdagentsetup is on a thumbdrive. Is that bound to a specific version of triggercmd?

                    R 1 Reply Last reply Feb 6, 2023, 9:45 PM Reply Quote 0
                    • R
                      Russ @Smart Communities
                      last edited by Feb 6, 2023, 9:45 PM

                      @Smart-Communities, that's correct. It doesn't download the latest version when you run the pre-downloaded agent installer on your thumb drive, it will install that specific version when you run it.

                      So I'm guessing either the uninstall / re-install fixed it, or maybe there was a bug in the version you had on your thumb drive.

                      Anyway I'm glad it's working now. Sorry for the trouble.

                      Russell VanderMey

                      S 1 Reply Last reply Feb 8, 2023, 8:00 PM Reply Quote 0
                      • S
                        Smart Communities @Russ
                        last edited by Feb 8, 2023, 8:00 PM

                        @Russ downloaded newest and same issue. To be clear, the background agent is automatically installed when TriggerCMD is installed. That correct?

                        R 1 Reply Last reply Feb 9, 2023, 2:09 AM Reply Quote 0
                        • R
                          Russ @Smart Communities
                          last edited by Feb 9, 2023, 2:09 AM

                          @Smart-Communities, no that is not correct.

                          You install the background service by right-clicking the TRIGGERcmd tray icon and clicking Background Service - Install Background Service.

                          e4e685b7-6711-4c93-81c2-7fa303d41ee4-image.png

                          Russell VanderMey

                          S 1 Reply Last reply Feb 9, 2023, 3:50 PM Reply Quote 0
                          • S
                            Smart Communities @Russ
                            last edited by Feb 9, 2023, 3:50 PM

                            @Russ Apologies Russ. Not sure why I thought that. Maybe because it was a default command when installing. Anyway sorry to waste your time.

                            R 1 Reply Last reply Feb 9, 2023, 10:01 PM Reply Quote 0
                            • R
                              Russ @Smart Communities
                              last edited by Feb 9, 2023, 10:01 PM

                              No problem at all @Smart-Communities. I'm glad you asked.

                              Russell VanderMey

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