Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Enable RYF blog fetch; bug 560753
Browse files Browse the repository at this point in the history
  • Loading branch information
clouserw committed May 8, 2010
1 parent 822384e commit aef3c0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions apps/discovery/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import time
import urllib2

#from pyquery import PyQuery as pq
from pyquery import PyQuery as pq

import cronjobs

Expand All @@ -16,10 +16,6 @@ def fetch_ryf_blog():
"""Currently used in the discovery pane from the API. This job queries
rockyourfirefox.com and pulls the latest entry from the RSS feed. """

# When you remove this, also uncomment pyquery above
log.error("Cron job disabled until bug 561232 is fixed.")
return

url = "http://rockyourfirefox.com/feed/"
try:
p = pq(url=url)
Expand Down
1 change: 1 addition & 0 deletions scripts/crontab/preview
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ MAILTO=amo-developers@mozilla.org
25 * * * * cd /data/amo_python/src/preview/zamboni; /data/virtualenvs/zamboni/bin/python manage.py cron update_collections_votes
30 * * * * cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php l10n_stats
35 * * * * cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php l10n_rss
40 * * * * cd /data/amo_python/src/preview/zamboni; /data/virtualenvs/zamboni/bin/python manage.py cron fetch_ryf_blog

#every 3 hours
20 */3 * * * cd /data/amo/www/addons.mozilla.org-preview/bin ; php -f compatibility_report.php
Expand Down
1 change: 1 addition & 0 deletions scripts/crontab/prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ MAILTO=amo-developers@mozilla.org
25 * * * * apache cd /data/amo_python/src/prod/zamboni; /data/virtualenvs/zamboni/bin/python manage.py cron update_collections_votes
30 * * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin; php -f maintenance.php l10n_stats
35 * * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin; php -f maintenance.php l10n_rss
40 * * * * apache cd /data/amo_python/src/prod/zamboni; /data/virtualenvs/zamboni/bin/python manage.py cron fetch_ryf_blog

#every 3 hours
20 */3 * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin ; php -f compatibility_report.php
Expand Down

0 comments on commit aef3c0c

Please sign in to comment.