Files
secondo/CM-Scripts/uptime.sh

10 lines
122 B
Bash
Raw Permalink Normal View History

2026-01-23 17:03:45 +08:00
#!/bin/sh
while [ "1" == "1" ]; do
d=$(date "+%m.%d.")
u=$(uptime)
echo "$d - $u" >> uptime.log
sleep 300
done