FullPageOS icon indicating copy to clipboard operation
FullPageOS copied to clipboard

How to schedule daily boots (every 24 hours)

Open esaruoho opened this issue 9 years ago • 6 comments

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

esaruoho avatar Aug 11 '17 06:08 esaruoho

  1. What version of FullPageOS are you using?
  2. You could try and disable GPU acceleration
  3. You could set a cronjob

guysoft avatar Aug 11 '17 14:08 guysoft

@guysoft

  1. The newest version of FullPageOS.
  2. I'm not sure where to do that.
  3. I experimented with it and I think I got the crontab to work. Maybe.

esaruoho avatar Aug 11 '17 20:08 esaruoho

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.

guysoft avatar Sep 26 '17 10:09 guysoft

sudo su crontab -e

add this line 0 5 * * * /sbin/shutdown -r now

save and exit

Now it will reboot everyday at 5AM

digitalknk avatar Jan 24 '18 01:01 digitalknk

Closing due to no reply since September of OP, also 0.8.1 is really much more stable.

guysoft avatar Jan 24 '18 12:01 guysoft

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

esaruoho avatar Jan 24 '18 14:01 esaruoho