Update gentle-wake-up.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Thu, 8 Aug 2019 00:34:32 +0000 (17:34 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Thu, 8 Aug 2019 00:34:32 +0000 (17:34 -0700)
official/gentle-wake-up.groovy

index f9bef8e8ae52219e91fb503412e7e7bdb412254d..0d2e14dc3d16b0603c4becad6d9338a06ae6689f 100755 (executable)
@@ -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