Run Now

Posted:

[ Categories: ]

Run Now v1.0beta

This is a beta testing version and will expire on August 31st, 2025

Run Now will run pre-configured commands on the local computer or send them to a remote host over ssh.

Dependencies:

  • GNU/Linux. Tested on Debian Bullseye w/ Xfce4.
  • Python 3.9.2+
  • ssh
  • xfce4-terminal

Command Files

The commands are stored in text files placed in ~/.config/run_now:

Default: This is the master command file (‘commands.txt’).

Host Specific: A text file that stores the commands for a host. The name for the command file must be the same as the host file name in ~/.ssh/config.

For Example:

  • Commands File: ~/.config/run_now/user-localhost
  • Matching SSH Host Config: ~/.ssh/config.d/user-localhost

Destination

The list of hosts in the Destination section are generated from the hosts files found in ~/.ssh/config.d.

Local (On this Computer): The command will be run directly in the terminal. There won’t be any ssh involved. If you want to test the local computer and have it go over an ssh connection then configure a destination like ‘user-localhost‘.

Instructions

First, download and unzip the compressed tar file.

tar zxvf run_now-v1.0beta.tar.gz

Make the binary executable.

cd run_now-v1.0beta
chown u+x run_now

Create the ~/bin directory if it doesn’t exist

mkdir ~/bin

Move run_now to the ~/bin directory.

mv ./run_now ~/bin/

Create the config directory.

mkdir ~/.config/run_now

Add a starting commands file.

touch ~/.config/run_now/commands.txt

Run the application.

run_now

or

~/bin/run_now

Developer

The developer can be reached on IRC: #keystreams on Libera.Chat