News for hackers. Stuff that matters.
Re:Show HN: Rocketry – Statement-based scheduling framework ... by powvans on Thursday September 22, 2022 @11:56AM (#32940746)
Celery supports solar scheduling, though it's not obvious how you would do +/- some time from the solar event. You would probably need to extend their implementation, but I don't think that would be too hard.

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.

There are no comments on this comment yet.