Paste #124418 |
pasted on 16.07.2019 11:54
- Edit to this paste
- Raw
- The following pastes replied to this paste: # 172692 # 244214
- Show paste tree
-
Compare with paste
#
Text paste
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #! /bin/bash hmem=$(date +%H) hnow=$(date +%H) while : do hnow=$(date +%H) #echo "heure actuelle : $hnow - heure mémorisée : $hmem" if [ $hnow != $hmem ] then echo "Changement d heure" play /home/adrien/tmp/bash_horloge/$hnow.ogg hmem=$hnow fi sleep 1 done |