Closed
Bug 1252643
Opened 8 years ago
Closed 8 years ago
Update product details on a regular basis on the dev server
Categories
(Shield :: General, defect)
Shield
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: osmose, Assigned: relud)
References
Details
All normandy server environments should be running `python manage.py update_product_details` on a regular basis to get the latest updates to product details. Probably once a day. A possible problem: We want all the webheads to have the same files on the filesystem for product_details, but we also have a hook into product_details that updates the database when we pull the latest files, and we only want that to run on the admin node. How do we make all the webheads stay in sync, while keeping them updated on a daily basis, and while only running the database-update portion of update_product_details once on the admin node? This may require some changes to how we update the database to separate it from the normal update_product_details run.
Comment 1•8 years ago
|
||
We use the database backend for product details, not the file one. There is no worry about running this multiple times to get the webheads stay in sync. We can run it once in a central place (like the admin node_, and that will take care of everything. Daniel: We'll need some sort of scheduled tasks for this. Cron would work great, or something like cron. It will basically just need to run `./manage.py update_product_details` once a day.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dthorn
Assignee | ||
Comment 2•8 years ago
|
||
There is a cron job for this now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Component: SHIELD → General
Product: Websites → Normandy
You need to log in
before you can comment on or make changes to this bug.
Description
•