changed celery to use database scheduler