by lep · 4y ago · 0 comments
Now, nothing of that would be too hard to implement myself but these task runners pop up every so often and i would like to leverage other peoples work. Home assistant just feels a bit big for this. Do note that i currently do neither of those but i always try to evaluate these use-cases for these task-runners.
https://docs.celeryq.dev/en/stable/reference/celery.schedule...
EDIT: I think you just need to provide a nowfun that offsets datetime.now() by the desired timedelta.
I used this myself for my father's chicken coop, it's quite easy to use.
On other side it would allow it to be fancy, like rescheduling it earlier if rain is close to the sunset