diff --git a/home/homelab/idle-process.md b/home/homelab/idle-process.md index 812c018..0c6d356 100644 --- a/home/homelab/idle-process.md +++ b/home/homelab/idle-process.md @@ -2,7 +2,7 @@ title: Create a Background Idle Prevention Processs description: published: true -date: 2025-06-25T13:43:53.845Z +date: 2025-06-25T13:53:00.203Z tags: editor: markdown dateCreated: 2025-06-25T11:49:23.320Z @@ -23,8 +23,8 @@ This guide describes how to create a `keep_alive.sh` script to prevent a headles ```bash #!/bin/bash while true; do - echo "Keep alive" > /dev/null - sleep 60 + script -q -c "echo 'Keep alive'" /dev/null + sleep 60 done ``` Save and exit by pressing `Ctrl+O`, `Enter`, then `Ctrl+X`.