Update gentle-wake-up.groovy
[smartapps.git] / official / gentle-wake-up.groovy
index f9bef8e8ae52219e91fb503412e7e7bdb412254d..c2b28fc6bfe16a40b86e36c06fc929e58fb3fc71 100755 (executable)
@@ -529,7 +529,7 @@ private increment() {
                def runAgain = stepDuration()
                log.debug "Rescheduling to run again in ${runAgain} seconds"
 
-               runIn(runAgain, 'increment', [overwrite: true])
+               //runIn(runAgain, 'increment', [overwrite: true])
 
        } else {
 
@@ -701,9 +701,9 @@ def canStartAutomatically() {
        def today = new Date().format("EEEE")
        log.debug "today: ${today}, days: ${days}"
 
-       if (!days || days.contains(today)) {// if no days, assume every day
+       //if (!days || days.contains(today)) {// if no days, assume every day
                return true
-       }
+       //}
 
        log.trace "should not run"
        return false