Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reboot system regulary #48

Open
adcurtin opened this issue Oct 10, 2024 · 6 comments
Open

reboot system regulary #48

adcurtin opened this issue Oct 10, 2024 · 6 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@adcurtin
Copy link

I used to use chilipie kiosk, that rebooted the pi every day at 3am to prevent memory leaks and other issues from eventually causing problems. An option to automatically reboot the pi regularly would be helpful

@andiohn
Copy link

andiohn commented Oct 10, 2024

Cron job. Just make a cron job to reboot until we have the ability to schedule tasks from the interface.

#28

@debloper debloper added bug Something isn't working good first issue Good for newcomers labels Oct 12, 2024
@debloper debloper added this to the .NEXT milestone Oct 12, 2024
@debloper
Copy link
Owner

Agreed... until the root cause of the 8hr crash is detected, it's better to just reboot it.

@tismofied
Copy link

Agreed... until the root cause of the 8hr crash is detected, it's better to just reboot it.

Oohhh That's why I am finding the pi at the desktop and the kiosk mode is stopped 😳.
Is it because of browser memory leaks?
I use the kiosk to pull up grafana local dashboards.

@tismofied
Copy link

Cron job. Just make a cron job to reboot until we have the ability to schedule tasks from the interface.

#28

Would a cronjob like this be safe to use on my pi to reboots every 8 hours?
0 */8 * * * /sbin/shutdown -r now

@creative0100
Copy link

well that explains why I come into a desktop rather than piosk running!

@debloper
Copy link
Owner

debloper commented Dec 9, 2024

@tismofied should be alright to reboot, but the path is /usr/sbin/shutdown and if you just use reboot then you'll not need the -r now args.

BTW, if any of you come to understand what's the root cause of this crash, please post it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants