diff options
-rwxr-xr-x | Brotbacken.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Brotbacken.sh b/Brotbacken.sh index e147bde..69becfb 100755 --- a/Brotbacken.sh +++ b/Brotbacken.sh @@ -44,6 +44,11 @@ fi \ printf '%sm %s\n' "${Zeit}" "${Schrittdatei}" done \ | while read -r Zeit Schrittdatei; do + date -d@$( + printf '%s + 60*%s + 0.5\n' "$(date +%s)" "${Zeit%m}" \ + | bc -l \ + | cut -d. -f1 + ) sleep "${Zeit}" play "${Schrittdatei}" done |