Closed
Bug 667894
Opened 14 years ago
Closed 14 years ago
developer-stage9: add calendar cron job
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: groovecoder, Assigned: nmaul)
References
()
Details
I converted the devmo app to South migrations, but the first migration assumes an empty db. We need to run:
./manage.py migrate devmo 0001 --fake
To push the South migration table past migration 0001 manually.
Comment 1•14 years ago
|
||
An easier way to do this might be with a schematic migration. That's how I did it for demos and taggit:
https://github.com/mozilla/kuma/blob/master/migrations/03-demos-using-south-migrations.sql
https://github.com/mozilla/kuma/blob/master/migrations/06-taggit-convert-to-south.sql
Updated•14 years ago
|
Assignee: server-ops → nmaul
| Reporter | ||
Comment 2•14 years ago
|
||
after following lorchard's advice, now we just need to add this cron job for stage9
*/1 * * * * manage.py cron devmo_calendar_reload
Summary: developer-stage9: migrate devmo app → developer-stage9: add calendar cron job
| Reporter | ||
Comment 3•14 years ago
|
||
oops, that should be * */1 * * * - every hour.
| Reporter | ||
Comment 4•14 years ago
|
||
need to run and activate this cron job to populate the data for bug 650838
Blocks: 650838
| Assignee | ||
Comment 5•14 years ago
|
||
Added this job:
21 * * * * apache cd /data/devmostage/src/developer-stage9.mozilla.org/kuma; python26 manage.py cron devmo_calendar_reload > /dev/null
Once an hour, on the 21 minute mark. '22' picked randomly, in the hopes of not colliding with too many other cron jobs on this server (mradm02). If you need this to run at the top of the hour specifically, let us know.
Also let us know if it breaks in general. Seems to work from the command line, and gives no output.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•