How to schedule daily boots (every 24 hours)
I have a Geckoboard dashboard running on FullPageOS - thing is that every few days, the whole setup will crash and refuse to continue fetching data from the site. How do I make FullPageOS reboot every 24 hours (at midnight, for instance)?
I've tried to disable audio and disable the raspicam, hoping that that will somehow help. I'm not sure where else to go.
# Enable audio (loads snd_bcm2835)
dtparam=audio=off
# enable raspicam
start_x=0
dtoverlay=vc4-kms-v3d
- What version of FullPageOS are you using?
- You could try and disable GPU acceleration
- You could set a cronjob
@guysoft
- The newest version of FullPageOS.
- I'm not sure where to do that.
- I experimented with it and I think I got the crontab to work. Maybe.
Hey, I've been testing the latest nightly of 0.8.0, and its MUCH more stable than 0.7.0, I also had "aww snap" crashes that stopped, suggest you try that.
sudo su
crontab -e
add this line
0 5 * * * /sbin/shutdown -r now
save and exit
Now it will reboot everyday at 5AM
Closing due to no reply since September of OP, also 0.8.1 is really much more stable.
@digitalknk thanks for this, i've set it to work and it works. thanks a lot i guess i need to install 0.8.0 or something..