Run management command via cron for the Popcorn Maker dev and staging instances

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: alfredo, Assigned: phrawzty)

Tracking

Details

(URL)

(Reporter)

Description

6 years ago
Administrators notifications such as request for moderation are deferred to be sent via django_mailer https://github.com/SmileyChris/django-mailer-2/

These emails in order to be sent require a management command to be run:

python manage.py send_mail

Could we script this to be run every 5 minutes?

More details if needed: https://github.com/SmileyChris/django-mailer-2/blob/master/docs/usage.txt#L76

Updated

6 years ago
Assignee: server-ops → dmaher
(Reporter)

Comment 1

6 years ago
I would like to script with the same frequency:

    python manage.py update_index

For updating the search index.
(Reporter)

Comment 2

6 years ago
Is there any update on this bug report?
(Assignee)

Comment 3

6 years ago
I have pushed the changes as requested.  If you have any further questions or questions, feel free to comment on this bug.

Have a nice day !
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 4

6 years ago
Awesome Daniel! Thanks for sorting this out.
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.