Adding the method runDaily.
[smartthings-infrastructure.git] / Runner.py
index 9de06d98b097961cc125539882fcd1cc4243ce25..ad8dff0f2b1822585889000a5eac41d034a27a1d 100644 (file)
--- a/Runner.py
+++ b/Runner.py
@@ -15,6 +15,7 @@ GlobalVariablesEachApp = open("GlobalVariables/"+"GlobalVariablesEachApp.groovy"
 setLocationMode = open("Methods/"+"setLocationMode.groovy", "r")
 subscribe = open("Methods/"+"subscribe.groovy", "r")
 runIn = open("Methods/"+"runIn.groovy", "r")
+runDaily = open("Methods/"+"runDaily.groovy", "r")
 unschedule = open("Methods/"+"unschedule.groovy", "r")
 sendNotificationToContacts = open("Methods/"+"sendNotificationToContacts.groovy", "r")
 sendSms = open("Methods/"+"sendSms.groovy", "r")
@@ -169,6 +170,8 @@ for line in subscribe:
        Out.write("\t"+line)
 for line in runIn:
        Out.write("\t"+line)
+for line in runDaily:
+       Out.write("\t"+line)
 for line in unschedule:
        Out.write("\t"+line)
 for line in sendNotificationToContacts:
@@ -220,6 +223,7 @@ GlobalVariablesEachApp = open("GlobalVariables/"+"GlobalVariablesEachApp.groovy"
 setLocationMode = open("Methods/"+"setLocationMode.groovy", "r")
 subscribe = open("Methods/"+"subscribe.groovy", "r")
 runIn = open("Methods/"+"runIn.groovy", "r")
+runDaily = open("Methods/"+"runDaily.groovy", "r")
 unschedule = open("Methods/"+"unschedule.groovy", "r")
 sendNotificationToContacts = open("Methods/"+"sendNotificationToContacts.groovy", "r")
 sendSms = open("Methods/"+"sendSms.groovy", "r")
@@ -275,6 +279,8 @@ for line in subscribe:
        Out.write("\t"+line)
 for line in runIn:
        Out.write("\t"+line)
+for line in runDaily:
+       Out.write("\t"+line)
 for line in unschedule:
        Out.write("\t"+line)
 for line in sendNotificationToContacts: