I am trying to write a script on my mac to participate in consensus, but I am having trouble with setting the wallet password in my script. I am trying to set the online status to true every 5000 seconds (~ 5 sec per round) for 1000 rounds, but every time I use
goal account changeonlinestatus ... I am asked for my wallet password. I thought I could just do something like this:
`echo password | goal account changeonlinestatus ... `
but when I do this I get an error about invalid ioctl…
What am I missing?