This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commands & Tasks
Christa Hartsock edited this page May 20, 2020
·
8 revisions
-
./manage.py load_essential_data
. Loads important fixtures that are used in all environments, such as counties, organizations, and groups. For more information about using and maintaining these fixtures, see -
./manage.py new_fixtures
. Reloads essential data and then creates fake seed data (applications, users) for each organization and loads that seed data.
All scheduled tasks are run using django-celery-beat
and a clock process on Heroku.
-
./manage.py alert_admins_if_org_has_unread_applications
. Run on the 1st of the month at 11pm Pacific. This task sends an email toclearmyrecord-alerts
alerting us of any organizations that have unread applications. -
./manage.py send_unopened_apps_notification
. Run on weekdays at 7am, this checks for unread applications and sends each organization an email about the amount of new applications that are waiting for them. It then sends a slack notification reporting on the totals for each organization. -
./manage.py send_followups
. Run on weekdays at 7am PST, this task sends an email to any user at an organization that doesn't use status notifications.
-
./manage.py create_email_forwarding_for_users
. This creates route forwarding rules in Mailgun, generating@clearmyrecord.org
email accounts for each existing user profile that forward to the users' login emails.