add launch.sh to run it periodically

This commit is contained in:
2026-02-11 07:07:00 +00:00
parent f3c428a819
commit cb372a0193
2 changed files with 11 additions and 6 deletions

8
launch.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
DELAY=$( [[ -n $1 && $1 =~ ^-?[0-9]+$ ]] && echo "$1" || echo 1 )
while true; do
sleep $(($DELAY * 60))
bash "./run.sh"
done