Ejemplo n.º 1
0
    def run(self):
        writeLog(self, "begin UP: %s" % self.event, self.startTime)

        sleep(self.sleepTime)
        spawnDaemon("sleep %s" % str(int(self.sleepTime) * 10))
        writeLog(self, "end UP: %s" % self.event, self.startTime)
Ejemplo n.º 2
0
    def run(self):
        writeLog(self, "begin UP: %s" % self.event, self.startTime)

        sleep(self.sleepTime)
        spawnDaemon("sleep 33.666")       
        writeLog(self, "end UP: %s" % self.event, self.startTime)
Ejemplo n.º 3
0
    def run(self):
        writeLog(self, "begin UP: %s" % self.event, self.startTime)

        sleep(self.sleepTime)
        spawnDaemon("sleep %s" % str(int(self.sleepTime) * 10))       
        writeLog(self, "end UP: %s" % self.event, self.startTime)