Announcements regarding TRIGGERcmd
@ricardomat, awesome. You're welcome.
A place to talk about TRIGGERcmd
@Cristiano-Hoshikawa, awesome. You're welcome.
A place to share commands you like to trigger remotely.
Hey Russ, I was wondering if it's possible to keep the console/cmd window opened while my python script is being executed ?
I've tried to create a .bat file to run the script and included a pause command at the end of the file but when the TriggerCMD runs the bat it doesn't open the cmd/console windows.
Do you have a suggestion of what I should do?
Instructions for each operating system, and various scenarios.
@Smart-Communities, I haven't tried Zorin OS yet. I'm downloading it now. I'll give it a try soon.
I think you installed and ran the TRIGGERcmd agent, but I think you didn't leave it running. So when you tried to run your commands on the computer they didn't run because the agent wasn't running.
Also, that's true - you can't create commands from the website. You have to either edit the text in the commands.json file manually, or use the GUI editor.
These are the Ubuntu instructions. I read that Zorin is based on Ubuntu.
EDIT: I tried it. Unfortunately it didn't work to just run triggercmdagent but you can run it like this in a Terminal window:
Run this first to install nodejs:
Then you can run the agent in foreground mode like this:
You can install the background agent to start as root when Zorin OS boots like this:
Because that agent is running in background mode, It will only run commands with ground = background in your /root/.TRIGGERcmdData/commands.json file.
@russ thank you!