224
iPhones stored for forensic analysis unexpectedly reboot, causing problems for officials
(appleinsider.com)
This is a most excellent place for technology news and articles.
There is a shortcut action to shut down the phone which you could trigger with an automation, I suppose.
I can put the phone in lockdown by press-holding the power button and select the "lockdown" option. Not bad, but an actual reboot daily at night wouldn't be so bad.
That's not what I mean, I'm talking about the Shortcuts app:
I believe it should still work, as alarms trigger for me even if my phone updated overnight or I put it on the charger dead before going to sleep, but I'll have to test it