dotconf/bin/beat

5 lines
83 B
Plaintext
Raw Permalink Normal View History

2022-02-01 10:16:08 -07:00
#!/bin/sh
b=$(echo "(($(date +'%s')+3600)%86400)/86.4" | bc)
printf "%03d" "${b}"