mirror of
https://github.com/dustinbrun/openwebrx_docker_installation.git
synced 2025-11-04 15:27:32 +01:00
18 lines
282 B
Bash
18 lines
282 B
Bash
#!/bin/sh
|
|
|
|
echo "Restarter script started..."
|
|
|
|
while true; do
|
|
|
|
while [ $(date +%H:%M) != "02:00" ]; do
|
|
sleep 30;
|
|
done
|
|
# Container time is UTC!!
|
|
# sleep 86400 # Sleep for 24 hours
|
|
|
|
echo "Restarting Container ..."
|
|
docker restart openwebrx_docker
|
|
|
|
sleep 60;
|
|
|
|
done |