index.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Cookbook &mdash; Celery v0.7.0 (unstable) documentation</title>
  7. <link rel="stylesheet" href="../static/nature.css" type="text/css" />
  8. <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '0.7.0 (unstable)',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../static/jquery.js"></script>
  19. <script type="text/javascript" src="../static/doctools.js"></script>
  20. <link rel="top" title="Celery v0.7.0 (unstable) documentation" href="../index.html" />
  21. <link rel="next" title="Retrying Tasks" href="task-retries.html" />
  22. <link rel="prev" title="celery - Distributed Task Queue for Django/Python" href="../introduction.html" />
  23. </head>
  24. <body>
  25. <div class="related">
  26. <h3>Navigation</h3>
  27. <ul>
  28. <li class="right" style="margin-right: 10px">
  29. <a href="../genindex.html" title="General Index"
  30. accesskey="I">index</a></li>
  31. <li class="right" >
  32. <a href="../modindex.html" title="Global Module Index"
  33. accesskey="M">modules</a> |</li>
  34. <li class="right" >
  35. <a href="task-retries.html" title="Retrying Tasks"
  36. accesskey="N">next</a> |</li>
  37. <li class="right" >
  38. <a href="../introduction.html" title="celery - Distributed Task Queue for Django/Python"
  39. accesskey="P">previous</a> |</li>
  40. <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> &raquo;</li>
  41. </ul>
  42. </div>
  43. <div class="document">
  44. <div class="documentwrapper">
  45. <div class="bodywrapper">
  46. <div class="body">
  47. <div class="section" id="cookbook">
  48. <h1>Cookbook<a class="headerlink" href="#cookbook" title="Permalink to this headline">¶</a></h1>
  49. <ul>
  50. <li class="toctree-l1"><a class="reference external" href="task-retries.html">Retrying Tasks</a><ul>
  51. <li class="toctree-l2"><a class="reference external" href="task-retries.html#retrying-a-task-if-something-fails">Retrying a task if something fails</a></li>
  52. <li class="toctree-l2"><a class="reference external" href="task-retries.html#setting-a-custom-delay-for-retries">Setting a custom delay for retries.</a></li>
  53. </ul>
  54. </li>
  55. </ul>
  56. <p>This page contains common recipes and techniques.
  57. Whenever a setting is mentioned, you should use <tt class="docutils literal"><span class="pre">celeryconf.py</span></tt> if using
  58. regular Python, or <tt class="docutils literal"><span class="pre">settings.py</span></tt> if running under Django.</p>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="sphinxsidebar">
  64. <div class="sphinxsidebarwrapper">
  65. <h4>Previous topic</h4>
  66. <p class="topless"><a href="../introduction.html"
  67. title="previous chapter">celery - Distributed Task Queue for Django/Python</a></p>
  68. <h4>Next topic</h4>
  69. <p class="topless"><a href="task-retries.html"
  70. title="next chapter">Retrying Tasks</a></p>
  71. <h3>This Page</h3>
  72. <ul class="this-page-menu">
  73. <li><a href="../sources/cookbook/index.txt"
  74. rel="nofollow">Show Source</a></li>
  75. </ul>
  76. <div id="searchbox" style="display: none">
  77. <h3>Quick search</h3>
  78. <form class="search" action="../search.html" method="get">
  79. <input type="text" name="q" size="18" />
  80. <input type="submit" value="Go" />
  81. <input type="hidden" name="check_keywords" value="yes" />
  82. <input type="hidden" name="area" value="default" />
  83. </form>
  84. <p class="searchtip" style="font-size: 90%">
  85. Enter search terms or a module, class or function name.
  86. </p>
  87. </div>
  88. <script type="text/javascript">$('#searchbox').show(0);</script>
  89. </div>
  90. </div>
  91. <div class="clearer"></div>
  92. </div>
  93. <div class="related">
  94. <h3>Navigation</h3>
  95. <ul>
  96. <li class="right" style="margin-right: 10px">
  97. <a href="../genindex.html" title="General Index"
  98. >index</a></li>
  99. <li class="right" >
  100. <a href="../modindex.html" title="Global Module Index"
  101. >modules</a> |</li>
  102. <li class="right" >
  103. <a href="task-retries.html" title="Retrying Tasks"
  104. >next</a> |</li>
  105. <li class="right" >
  106. <a href="../introduction.html" title="celery - Distributed Task Queue for Django/Python"
  107. >previous</a> |</li>
  108. <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> &raquo;</li>
  109. </ul>
  110. </div>
  111. <div class="footer">
  112. &copy; Copyright 2009, Ask Solem.
  113. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.2.
  114. </div>
  115. </body>
  116. </html>