Example #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)
    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)
    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)