Only disable sleep on weekday mornings master
authorJacob Casper <dev@jacobcasper.com>
Mon, 25 Jan 2021 15:49:07 +0000 (09:49 -0600)
committerJacob Casper <dev@jacobcasper.com>
Mon, 25 Jan 2021 15:52:27 +0000 (09:52 -0600)
com.jacobcasper.pm.on.plist

index da2be6e..6361e24 100644 (file)
@@ -9,12 +9,48 @@
        <string>/usr/local/bin/pm.sh</string>
        <string>1</string>
     </array>
-    <key>StartCalendarInterval</key> 
-    <dict> 
-        <key>Hour</key> 
-        <integer>8</integer> 
-        <key>Minute</key> 
-        <integer>45</integer> 
-    </dict>
+    <key>StartCalendarInterval</key>
+    <array>
+        <dict>
+            <key>Weekday</key>
+            <integer>1</integer>
+            <key>Hour</key>
+            <integer>8</integer>
+            <key>Minute</key>
+            <integer>45</integer>
+        </dict>
+        <dict>
+            <key>Weekday</key>
+            <integer>2</integer>
+            <key>Hour</key>
+            <integer>8</integer>
+            <key>Minute</key>
+            <integer>45</integer>
+        </dict>
+        <dict>
+            <key>Weekday</key>
+            <integer>3</integer>
+            <key>Hour</key>
+            <integer>8</integer>
+            <key>Minute</key>
+            <integer>45</integer>
+        </dict>
+        <dict>
+            <key>Weekday</key>
+            <integer>4</integer>
+            <key>Hour</key>
+            <integer>8</integer>
+            <key>Minute</key>
+            <integer>45</integer>
+        </dict>
+        <dict>
+            <key>Weekday</key>
+            <integer>5</integer>
+            <key>Hour</key>
+            <integer>8</integer>
+            <key>Minute</key>
+            <integer>45</integer>
+        </dict>
+        </array>
 </dict>
 </plist>