3 ms·
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 implement
by powvans 4y ago
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.schedules.html#celery.schedules.solar 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.