I get an e-mail every day from this schedule, when I only want the schedule to happen on Mondays. I can't see what I am doing wrong. Any help is appreciated
Today = indigo.server.getTime().strftime("%A")
if str(Today) == "Monday":
indigo.server.log(" Day of Week is " + str(Today)) # Line can be removed
# Put your battery script here
else:
pass
colin_d wrote:I think you've inadvertently selected every day except Monday in the 'Days of week' boxes.
jaknudsen wrote:colin_d wrote:I think you've inadvertently selected every day except Monday in the 'Days of week' boxes.
Thank you, that sounds like a plausible explanation! … If it wasn't for the fact that I received an email today (Monday). I'll try to select/deselect and see what happens tomorrow. May I ask; how do you double check?
(And also thanks for the suggestion @CliveS, but I'd like to learn why my schedule settings aren't working to my expectations.)
Absolute days of the week - execute only on certain days of the week (not that darkened days are selected, lightened aren't)
ckeyes888 wrote:Just my 2¢ but darker, grayed out buttons should be the non-selected buttons.
execute only on certain days of the week (not that darkened days are selected, lightened aren't)
jaknudsen wrote:I think not should be note here.
Users browsing this forum: No registered users and 2 guests