rctab.tasks

Tasks that run in the background.

Be sure to test any changes to these tasks locally by running: celery -A rctab.tasks worker –loglevel=info and either calling the task manually from Python with: taskname.delay() or running Celery Beat in a shell and waiting for the task to run on schedule: celery -A rctab.tasks beat –loglevel=info

Functions

abolish()

Connect to the database and run the abolish function.

send()

Connect to the database and send the daily summary email.

setup_logger(logger, *_, **__)

Set up celery logger.

setup_periodic_tasks(sender, **_)

Schedule periodic tasks.

setup_task_logger(logger, *_, **__)

Set up celery task logger.