Cron Reboot

14 views
Skip to first unread message

Michael Hopwood

unread,
Feb 13, 2026, 5:45:11 PM (13 days ago) Feb 13
to DigiPi
How do I do a scheduled reboot every 4 hours?

Thank you

Michael Hopwood

unread,
Feb 13, 2026, 5:54:40 PM (13 days ago) Feb 13
to DigiPi
Never mind, google was my friend today.

On Fri, Feb 13, 2026 at 4:45 PM Michael Hopwood <mhopw...@gmail.com> wrote:
How do I do a scheduled reboot every 4 hours?

Thank you

--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/b3e354bd-3297-430d-b472-166ec88bdb43n%40googlegroups.com.


--
Michael D. Hopwood JR SGT USARMY RET (US) KE5EUA / WRJV225 --... ...-- ;IGY6

David Rose

unread,
Feb 14, 2026, 9:18:03 AM (12 days ago) Feb 14
to DigiPi
Michael,

Can you post brief instructions on how you did this and is it working?

David

Craig

unread,
Feb 14, 2026, 10:43:32 AM (12 days ago) Feb 14
to David Rose, DigiPi
sudo remount
sudo su - root
crontab -e

# m h  dom mon dow   command
# nightly reboot at 1:01AM
1 1 * * * /usr/sbin/shutdown -r 0



-craig
KM6LYW
Reply all
Reply to author
Forward
0 new messages