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

Interface possibilities

General Discussion
feature request
2
3
388
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.
  • T
    tuicemen
    last edited by Jan 17, 2022, 12:05 PM

    I'm very new to using TRIGGERcmd so I'm wondering some things.
    1: I know you can specify paths in your commands.json file but is there a best place to actually place all your scripts? Obviously you don't want them all over the computer but a specific folder which makes for an easy backup. Should this folder be in the .TRIGGERcmd folder? Would that make for faster triggering?
    2: As for back ups these should be done as soon as you've added a new working command to your command.json file. Can TRIGGERcmd not do this?
    3: Restoring, can TRIGGERcmd also not do this?

    TRIGGERcmd can read the command.json file so backing up should be able to do a simple download to the connected device.
    Restoring may be a bit more tricky to do from the interface. Script files might also be able to be backed up. Certainly if they were all located in the same universal folder it would make that easier.

    R 1 Reply Last reply Jan 17, 2022, 1:42 PM Reply Quote 0
    • R
      Russ @tuicemen
      last edited by Jan 17, 2022, 1:42 PM

      @tuicemen, it's really up to you where you put your scripts. I have a folder on my PC where I generally put mine, just for organization. It doesn't speed up the commands. I don't put them in the .TRIGGERcmdData folder. It would work fine but just doesn't seem to me like the right spot.

      For backups I've recommended people create a script that copies your commands.json and/or script files to a folder in Dropbox. You could schedule it or trigger it on-demand.

      FYI, the agent does backup your commands.json file to commands.json.backup every time you change it, and it auto-restores the backup if you make a mistake in json formatting.

      Russell VanderMey

      T 1 Reply Last reply Jan 17, 2022, 2:27 PM Reply Quote 0
      • T
        tuicemen @Russ
        last edited by Jan 17, 2022, 2:27 PM

        @russ said in Interface possibilities:

        FYI, the agent does backup your commands.json file to commands.json.backup every time you change it, and it auto-restores the backup if you make a mistake in json formatting.

        Awesome, I did see the commands.json.backup file but didn't realize it auto restored.

        I don't like to use the cloud for backups, however I do for some things as well as a back up on disks.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post