Firefox/Input/Crons
From MozillaWiki
Contents
Our Crons
Production
Feedback
Cron 1
- Here is a summary of what it does
- Here is a link to the code
Themes
Sites
- Updates sites clusters used for the "Broken Sites" (release) and the "Sites" (beta) dashboard.
0315 PST daily on cm-metricsetl02
- /home/mkurze/jobs/input/update.sh production
# branch: prod ./manage.py update_product_details wget -O media/data/opinions.tsv.bz2 http://input.mozilla.com/data/opinions.tsv.bz2 ./manage.py generate_sites
- configured sites db mysql://metricswriter@10.2.70.90:/mozilla_input_metrics
Staging
Build stuff (GitHub):
*/5 * * * * root (cd /data/www/input.stage.mozilla.com/reporter/; ./bin/update_staging.sh) > /dev/null */30 * * * * apache /data/virtualenvs/input/bin/python26 /data/www/input.stage.mozilla.com/reporter/manage.py update_product_details &> /dev/null 35 * * * * apache /data/virtualenvs/input/bin/python26 /data/www/input.stage.mozilla.com/reporter/manage.py cron cluster &> /dev/null
DB stuff:
Feedback
Themes
Sites
0415 PST daily on cm-metricsetl02
- Updates sites clusters used for the "Broken Sites" (release) and the "Sites" (beta) dashboard.
- /home/mkurze/jobs/input/update.sh stage
# branch: master ./manage.py update_product_details wget -O media/data/opinions.tsv.bz2 http://input.mozilla.com/data/opinions.tsv.bz2 ./manage.py generate_sites
- configured sites db mysql://metricswriter@tm-stage01-master01:/input_metrics_stage_mozilla_com
When testing on stage, keep in mind that the underlying feedback objects won’t be available in the database. So when viewing a cluster, you will like see an empty page.