@russ Thanks a lot, this worked. I shouldn't've assumed it would always run in the home directory. This saved me a lot of headaches.
J
Posts made by jackson pollard
-
RE: Echo linux command not working when run from the internet, but works on device
-
Echo linux command not working when run from the internet, but works on device
Here's an example of one of the commands I want to run:
echo "python giveTour.py fullTour" > Desktop/Cram0002/reqs.txt
Basically just trying to echo a line into a file. It works when I activate the trigger directly on the laptop, but if I activate it using the triggerCMD website or Alexa, the command does nothing. Its not a connection issue either, because if I replace the above command with a different one, it runs correctly. It is only failing for commands that echo something into a file. I can't find any reason these would fail when the triggers work correctly when run on the machine.
Any help would be appreciated.