Auto-reboot at 3a

Discussion in 'Feeding' started by dlwerthe, May 6, 2020.

  1. dlwerthe

    dlwerthe New Member

    I recently upgraded to the 1.0.3 image on my Raspberry Pi 3b+, and I've noticed that it reboots at 3:00a every night, something the prior image I was using wasn't doing before. I'd like to disable that as I have some other logic running in the background that will trigger a reboot at certain "quiet hour" times to address memory leaks, etc. but I want to minimize unexpected kills of my code.

    However, I can't seem to find where the 3a reboot is triggered. It's not in crontab -e; any suggestions on where this is set up, or other things I should check?

    Thank you!
     
  2. light58type

    light58type New Member

    sudo crontab -e​

    just comment the following line with a hastag before 0 or erase the line:
    0 3 * * * /sbin/reboot
    to
    #0 3 * * * /sbin/reboot
     
  3. dlwerthe

    dlwerthe New Member

    Thanks - appreciate the help!
     
    light58type likes this.
  4. MikeD73

    MikeD73 New Member

    Why would you want to reboot anyway? Address the memory leaks.
     
  5. BebeMischaNL

    BebeMischaNL Member

    It's the ADSBx image it self, who initiate the reboot every day. I did not change anything in it, and mine reboots also...
     
    MikeD73 likes this.