Skip to content

kljensen/shell-interval-training-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Shell interval training timer

Calvin Coolidge getting fit

A small shell script for doing interval training (or circuit training) coveniently from your desk. I was inspired to write this quick script after reading the NY Times "The Scientific 7-Minute Workout" article covering the HICT research by Kilka & Jordan. The workout from that manuscript is the default for this script.

How it works

The shell script loops through list of exercises (potentially user-supplied) and announces each one verbally (literaly, over your speakers) using the say command. The script sleeps between exercises using the sleep command. It has only been tested on Mac OSX.

Usage

First, you probably want to make the script executable

chmod a+x ./workout.sh

Do the default workout

./workout.sh

Or, you can supply a file with your own exercises, 1 per line

./workout.sh my-exercises.txt

Finally, here's how you would supply a file with your own exercises, 1 per line and do each for 45 seconds, resting for 20.

./workout.sh my-exercises.txt 45 20

About

shell-interval-workout-timer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages