Can I force a photon to reboot through code periodically?

Is there a way for the photon to reboot itself after a predetermined amount of time. I know how to set a timer in code but can’t seem to find a reboot command. Something as simple as:

if (millis() > 86000000)
    {
       reboot();
    }

https://docs.particle.io/reference/firmware/photon/#reset--2

2 Likes

Thanks.