Closed zven closed 1 month ago
create cron job that deletes those every night
todo: put into separate container
I switched from cron
to supercronic, which is a job runner specifically designed to run in containers. For this, a crontab
file is generated from django_crontab
that supercronic
can point to.
Access tokens do not ever get deleted at the moment. We should delete them periodically: https://django-oauth-toolkit.readthedocs.io/en/latest/management_commands.html#