Force restart at midnight. How?

Hello i want to know how can i force my imps to restart at a certain hour for ex. 24h00.

Regards
António

Which model of Imps are they and do you want them to restart within the device or do you want to command them through the agent (remotely)? And what might the reason be to restart them every 24 hrs?

I would use the imp’s real-time clock to figure out when to restart and then call imp.reset(), which warm-reboots the imp (or you can do server.restart() if you just want to tear down and restart the Squirrel VM, without dropping the connection, IIRC)

This topic was automatically closed after 60 days. New replies are no longer allowed.