Created
September 27, 2025 11:30
-
-
Save obar1/bf699cd15e4fcbe1c2d8484d62debf7d to your computer and use it in GitHub Desktop.
Revisions
-
obar1 created this gist
Sep 27, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/bash # Interval in seconds (e.g., 300 = 5 minutes) INTERVAL=300 echo "Keeping Codespace alive. Press [CTRL+C] to stop." while true; do echo "Ping at $(date)" > /tmp/keepalive.txt sleep $INTERVAL done # use ad # nohup ./ka.sh &