tadd my cron setup - exercise_time - announce workout exercises with notifications and speech synth
(HTM) git clone git://src.adamsgaard.dk/exercise_time
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e1f586699623a3db8fb032a59dd1e9264513b68a
(DIR) parent 6dff1ea28aef7da094202ada1d51dfea8793cf35
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 24 Oct 2014 11:02:55 +0200
add my cron setup
Diffstat:
M exercise_time.sh | 10 ++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/exercise_time.sh b/exercise_time.sh
t@@ -3,6 +3,16 @@
# IT'S EXERCISE TIME!
# Requires the `festival` speech synthesizer or a notification daemon.
+### I have the following entries in my user's cron tab (`crontab -e`)
+# # m h dom mon dow command
+# # Even days: Triceps and chest
+# 55 */2 2-30/2 * * DISPLAY=:0 bash ~/code/exercise_time/exercise_time.sh 2 "Do ten push ups"
+# 55 1-23/2 2-30/2 * * DISPLAY=:0 bash ~/code/exercise_time/exercise_time.sh 3 "Use the barbells for a triceps exercise fifteen times."
+#
+# # Odd days: Biceps and legs
+# 55 */2 1-31/2 * * DISPLAY=:0 bash ~/code/exercise_time/exercise_time.sh 3 "Do ten squats with weights in hand."
+# 55 1-23/2 1-31/2 * * DISPLAY=:0 bash ~/code/exercise_time/exercise_time.sh 3 "Use the barbells for a biceps exercise ten times."
+
# Wait time in seconds between sets
WAITSECS=120