
Video tutorial on Dtube
If you are tired of doing the same commands over and over again, try automating them. I regularly check the logs of my seed server and witness server and it usually takes about 5 minutes, but with Apple script it takes about 10-15 seconds
with a simple Hotkey command.
- Lauch Automator on Mac

- Press New Document

- Choose Service

- Drag Apple Script icon to the right

- Set the following variables to "no input" and "any application"

- Replace with following code
You can use this template to generate any commands you type in to check your logs step by step.
on run {input, parameters}
tell application "Terminal"
reopen
activate
set currentTab to do script ("ssh user@ipaddress")
delay 2
do script ("password") in currentTab
delay 1
do script ("cd steem-docker") in currentTab
do script ("./run.sh logs") in currentTab
end tell
end run
Insert your own:
a. user@ipaddress
b. password
and you are good to go
I recommend using delay in between commands. This example uses Steem-in-a-box Docker by (@someguy123), but you can type any commands you usually use.
7.. Save your file when you are done inserting and testing your code

8.. Launch your "System Preferences" -> Keyboard -> Shortcuts -> Services
and scroll down to your saved service. Activate it and double click on it to Add Shortcut



Thats it, have fun with your new Hotkey command!
Brought to you by @yuriks2000, your loyal Steemit Witness and a CEO of BoomApps developing SteemApp, a completely free app for Steemians
Please support us by voting for us as Witness
Go to https://steemit.com/~witnesses

Or vote for us through steemconnect
Have a lovely day!
If you would like to download our SteemApp free Steemit mobile application, click on the iOS or Android images below

▶️ DTube
▶️ IPFS


Hi, @yuriks2000!
You just got a 43.42% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Hi @yuriks2000!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 6.220 which ranks you at #223 across all Steem accounts.
Your rank has dropped 5 places in the last three days (old rank 218).
In our last Algorithmic Curation Round, consisting of 407 contributions, your post is ranked at #95.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
This is pretty cool! I have never used the automator. My trick for checking the witness log was a shell alias that will ssh and print the logs in stdout. I will use this to learn automator first!
Thank you!