1. A method comprising: entering, by a server device of a plurality of server devices, a leader state based upon a result of a consensus election process in which the server device participates with the plurality of server devices; based on being in the leader state, scheduling, by the server device, one or more tasks by assigning each of the one or more tasks to a device, wherein scheduling a task comprises sending a command and an associated nonce to the device; and receiving a confirmation that the task has been performed, the confirmation comprising the nonce.