How to reboot all the devices at once

Dan Morphis dan at milkcarton.com
Wed Jul 26 16:43:04 EDT 2017


It would be near impossible to reboot all devices at the same time. That
would require all devices INFORMing at the same time. But you can create a
provision script that will reboot all devices that haven't previously
rebooted after a set time.

declare("Reboot", null, {value: 1501101000000}); // Reboot any device that
have not rebooted since Wed Jul 26 2017 12:30:00 GMT-0800 (AKDT)

Time value is in JavaScript ticks (unix epoch * 1000). Easiest way to
create the timestamp is open a browser, then ctrl-shift-i (or f12 in
IE/Edge), switch to the console and use the result of this expression: new
Date('2017-07-26 12:30:00 pm').getTime()

-dan


On Tue, Jul 25, 2017 at 7:39 PM, unknown 2018 <wikileaks1987 at gmail.com>
wrote:

> I would like to know, how to reboot all the devices at once and is it
> possible to schedule a reboot task in Genieacs.
> Now we can only reboot one device at a time. Please guide me in doing so
> with a detailed explanation.
>
>
> Thank you.
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170726/931d1aa3/attachment.html>


More information about the Users mailing list