Execute only on certain day (anytime)


#1

1) Give a description of the problem
I’m not sure if I’m doing this correctly. I to preform a task only on certain days of the week. Don’t what time but Only on certain days
2) What is the expected behavior?
I’m not sure if I’m doing correctly. ceritional timer but I don’t know if that is what I should be using.

3) What is happening/not happening?
I’m still working through the script but I looks like it will only execute at midnight

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)
5/3/2018, 9:19:49 PM +745ms
+0ms ╔Received event [Home].test = 1525396789744 with a delay of 0ms
+89ms ║RunTime Analysis CS > 18ms > PS > 49ms > PE > 23ms > CE
+91ms ║Runtime (42840 bytes) successfully initialized in 49ms (v0.3.104.20180323) (90ms)
+92ms ║╔Execution stage started
+102ms ║║Condition #16 evaluated false (6ms)
+103ms ║║Condition group #9 evaluated false (state did not change) (8ms)
+136ms ║╚Execution stage complete. (43ms)
+149ms ║Setting up scheduled job for Fri, May 4 2018 @ 12:00:00 AM EDT (in 9610.11s), with 1 more job pending
+159ms ╚Event processed successfully (159ms)

REMOVE BELOW AFTER READING


#2

I don’t have a presence sensor yet, so I used my window contact to simulate the same results.
($dayOfWeek is an automatic variable… 1 for Monday thru 7 for Sunday)


Conflict between actions?
#3

Correction

$dayOfWeek runs 0 thru 6… (Sunday thru Saturday)