Set time during day for device to run an update and/or reboot

#1

Hi, I have devices that should only be rebooted when they are not busy at certain times during the day. If I deploy an update is there an easy way to set a specific time during the day that the device should install the update and reboot then if needed. Should this be handled in a script or is there a setting to set the time to check? I know there are interval settings, but a specific time would be much better in my case.

#2

State scripts are probably the most appropriate for this,

https://docs.mender.io/2.0/artifacts/state-scripts

#3

And you probably just want to halt the reboot in ArtifactReboot_Enter, until it is an appropriate timing

#4

That’s what I was thinking… Thank you!