Browse files

Added some more notes around twitter cron jobs.

  • Loading branch information...
stephenmcd committed May 21, 2012
1 parent f571633 commit 6028d0c0089f7ce5165c4057a43ca79d444a996f
Showing with 6 additions and 3 deletions.
  1. +6 −3 docs/deployment.rst
@@ -106,10 +106,13 @@ Twitter Feeds
If Twitter feeds are implemented in your templates, a cron job is
-required that will run the following management command::
+required that will run the following management command. For example
+if we want the tweets to be updated every 10 minutes::
- $ python poll_twitter
+ */10 * * * * python path/to/your/site/ poll_twitter
This ensures that the data is always available in the site's database
when accessed, and allows you to control how often the Twitter API is
+queried. Note that the fabric script described earlier includes
+features for deploying templates for cron jobs, which includes the
+job for polling twitter by default.

0 comments on commit 6028d0c

Please sign in to comment.