self.calcNextActivation()
def setNextActivation(self, when):
delay = int((when - time()) * 1000)
print "next activation: %d (in %d seconds)" % (when, delay)
self.calcNextActivation()
def setNextActivation(self, when):
delay = int((when - time()) * 1000)
print "next activation: %d (in %d seconds)" % (when, delay)