summaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
Diffstat (limited to 'cron')
-rwxr-xr-xcron/bin/zeit14
1 files changed, 14 insertions, 0 deletions
diff --git a/cron/bin/zeit b/cron/bin/zeit
new file mode 100755
index 00000000..d863ed7a
--- /dev/null
+++ b/cron/bin/zeit
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+expect >/dev/null <<EOF
+spawn nc localhost telnet
+expect READY.
+send "/zeit\r"
+expect READY.
+# pitch set to 10
+expect READY.
+# Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
+expect READY.
+# pitch changed from 10 to 100
+expect READY.
+EOF