How do I create a trigger
-
I´m new in the linux console, and I dont now how to config a new trigger, I have already installed and connected to an account
-
@mega_big, on a Raspberry Pi, assuming you installed the agent using these instructions, your commands are in this file:
/root/.TRIGGERcmdData/commands.jsonYou'll see the default commands in there.
You can run these commands to edit it:
sudo su - cd /root/.TRIGGERcmdData nano commands.jsonWhile the agent is running, it will detect changes in that commands.json file and create/remove triggers for those commands in your TRIGGERcmd account. If you mess up the json at all (an extra comma even), the agent will restore the last backup it took. You'll see that in your debug.log.
If you don't want to deal with editing text, you could create a command on your Windows PC using the "GUI Command Editor" then copy/paste the json text of that command from the "Text Command Editor" into your commands.json file.
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