appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

Feature Request: `run_weekly()` method

Open sriramsv opened this issue 5 years ago • 2 comments

Currently, there is no easy way to execute code on a given day of the week, either we have to have a run_daily call which checks the self.date().isoweekday() to be a certain. This is unnecessary if we have a run_weekly() method which will execute at a given time on that day of week.

sriramsv avatar Sep 18 '19 22:09 sriramsv

Until this feature request is decided upon, you can use this:

self.run_daily(blah, blah, blah, constrain_days="wed")

dlashua avatar Sep 18 '19 22:09 dlashua

Sure, we can add this at some point.

acockburn avatar Sep 19 '19 13:09 acockburn