projects
/
smartapps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update gentle-wake-up.groovy
[smartapps.git]
/
official
/
gentle-wake-up.groovy
diff --git
a/official/gentle-wake-up.groovy
b/official/gentle-wake-up.groovy
index f9bef8e8ae52219e91fb503412e7e7bdb412254d..c2b28fc6bfe16a40b86e36c06fc929e58fb3fc71 100755
(executable)
--- a/
official/gentle-wake-up.groovy
+++ b/
official/gentle-wake-up.groovy
@@
-529,7
+529,7
@@
private increment() {
def runAgain = stepDuration()
log.debug "Rescheduling to run again in ${runAgain} seconds"
def runAgain = stepDuration()
log.debug "Rescheduling to run again in ${runAgain} seconds"
- runIn(runAgain, 'increment', [overwrite: true])
+
//
runIn(runAgain, 'increment', [overwrite: true])
} else {
} else {
@@
-701,9
+701,9
@@
def canStartAutomatically() {
def today = new Date().format("EEEE")
log.debug "today: ${today}, days: ${days}"
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
return true
- }
+
//
}
log.trace "should not run"
return false
log.trace "should not run"
return false