docs: update home/homelab/idle-process

This commit is contained in:
cheeks 2025-06-25 13:53:01 +00:00 committed by cheeks
parent ef82e1e1b6
commit 1186067d29

View File

@ -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`.