Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

run_every_minute.sh


#!/bin/bash

interval=60 # seconds

for (( ; ; ))
do
now=$(date +%s)
sleep_seconds=$(( $interval - ($now % $interval)))

echo sleep $sleep_seconds seconds
sleep $sleep_seconds
./runall.sh
echo done.
done