Things about the resource manager don't really make sense to be in scheduler.py, even though celerybeat is the one using the data. I think keeping this in tasks.py would be more logical.