changelog.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  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>Change history &mdash; Celery v0.3.0 (unstable) documentation</title>
  7. <link rel="stylesheet" href="static/agogo.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.3.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.3.0 (unstable) documentation" href="index.html" />
  21. <link rel="prev" title="Celery Worker Daemon - celery.bin.celeryd" href="reference/celery.bin.celeryd.html" />
  22. </head>
  23. <body>
  24. <div class="header-wrapper">
  25. <div class="header">
  26. <h1><a href="index.html">Celery v0.3.0 (unstable) documentation</a></h1>
  27. <div class="rel">
  28. <a href="genindex.html" title="General Index"
  29. accesskey="I">index</a> |
  30. <a href="modindex.html" title="Global Module Index"
  31. accesskey="M">modules</a> |
  32. <a href="reference/celery.bin.celeryd.html" title="Celery Worker Daemon - celery.bin.celeryd"
  33. accesskey="P">previous</a>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="content-wrapper">
  38. <div class="content">
  39. <div class="document">
  40. <div class="documentwrapper">
  41. <div class="bodywrapper">
  42. <div class="body">
  43. <div class="section" id="change-history">
  44. <h1>Change history<a class="headerlink" href="#change-history" title="Permalink to this headline">¶</a></h1>
  45. <div class="section" id="p-m-cet-askh-opera-com">
  46. <h2>0.3.0 [2009-06-08 12:41 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#p-m-cet-askh-opera-com" title="Permalink to this headline">¶</a></h2>
  47. <p><strong>NOTE</strong> This is a development version, for the stable release, please
  48. see versions 0.2.x.</p>
  49. <p><strong>VERY IMPORTANT:</strong> Pickle is now the encoder used for serializing task
  50. arguments, so be sure to flush your task queue before you upgrade.</p>
  51. <ul>
  52. <li><dl class="first docutils">
  53. <dt><strong>IMPORTANT</strong> TaskSet.run() now returns a celery.result.TaskSetResult</dt>
  54. <dd><p class="first last">instance, which lets you inspect the status and return values of a
  55. taskset as it was a single entity.</p>
  56. </dd>
  57. </dl>
  58. </li>
  59. <li><p class="first"><strong>IMPORTANT</strong> Celery now depends on carrot &gt;= 0.4.0.</p>
  60. </li>
  61. <li><dl class="first docutils">
  62. <dt>The celery daemon now sends task errors to the registered admin e-mails.</dt>
  63. <dd><p class="first last">To turn off this feature, set <tt class="docutils literal"><span class="pre">SEND_CELERY_TASK_ERROR_EMAILS</span></tt> to
  64. <tt class="xref docutils literal"><span class="pre">False</span></tt> in your <tt class="docutils literal"><span class="pre">settings.py</span></tt>. Thanks to Grégoire Cachet.</p>
  65. </dd>
  66. </dl>
  67. </li>
  68. <li><p class="first">You can now run the celery daemon by using <tt class="docutils literal"><span class="pre">manage.py</span></tt>:</p>
  69. <div class="highlight-python"><pre> $ python manage.py celeryd
  70. Thanks to Grégoire Cachet.</pre>
  71. </div>
  72. </li>
  73. <li><dl class="first docutils">
  74. <dt>Added support for message priorities, topic exchanges, custom routing</dt>
  75. <dd><p class="first">keys for tasks. This means we have introduced
  76. <tt class="docutils literal"><span class="pre">celery.task.apply_async</span></tt>, a new way of executing tasks.</p>
  77. <p>You can use <tt class="docutils literal"><span class="pre">celery.task.delay</span></tt> and <tt class="docutils literal"><span class="pre">celery.Task.delay</span></tt> like usual, but
  78. if you want greater control over the message sent, you want
  79. <tt class="docutils literal"><span class="pre">celery.task.apply_async</span></tt> and <tt class="docutils literal"><span class="pre">celery.Task.apply_async</span></tt>.</p>
  80. <p>This also means the AMQP configuration has changed. Some settings has
  81. been renamed, while others are new:</p>
  82. <div class="highlight-python"><div class="highlight"><pre><span class="n">CELERY_AMQP_EXCHANGE</span>
  83. <span class="n">CELERY_AMQP_PUBLISHER_ROUTING_KEY</span>
  84. <span class="n">CELERY_AMQP_CONSUMER_ROUTING_KEY</span>
  85. <span class="n">CELERY_AMQP_CONSUMER_QUEUE</span>
  86. <span class="n">CELERY_AMQP_EXCHANGE_TYPE</span>
  87. </pre></div>
  88. </div>
  89. <p class="last">See the entry <a class="reference external" href="http://bit.ly/celery_AMQP_routing">Can I send some tasks to only some servers?</a> in the
  90. <a class="reference external" href="http://ask.github.com/celery/faq.html">FAQ</a> for more information.</p>
  91. </dd>
  92. </dl>
  93. </li>
  94. </ul>
  95. <ul>
  96. <li><dl class="first docutils">
  97. <dt>Task errors are now logged using loglevel <tt class="docutils literal"><span class="pre">ERROR</span></tt> instead of <tt class="docutils literal"><span class="pre">INFO</span></tt>,</dt>
  98. <dd><p class="first last">and backtraces are dumped. Thanks to Grégoire Cachet.</p>
  99. </dd>
  100. </dl>
  101. </li>
  102. <li><dl class="first docutils">
  103. <dt><strong>IMOPORTANT</strong> Now using pickle to encode task arguments. This means you</dt>
  104. <dd><p class="first last">now can pass complex python objects to tasks as arguments.</p>
  105. </dd>
  106. </dl>
  107. </li>
  108. <li><p class="first">Removed dependency on <tt class="docutils literal"><span class="pre">yadayada</span></tt>.</p>
  109. </li>
  110. <li><p class="first">Added a FAQ, see <tt class="docutils literal"><span class="pre">docs/faq.rst</span></tt>.</p>
  111. </li>
  112. <li><dl class="first docutils">
  113. <dt>Now converts any unicode keys in task <tt class="docutils literal"><span class="pre">kwargs</span></tt> to regular strings.</dt>
  114. <dd><p class="first last">Thanks Vitaly Babiy.</p>
  115. </dd>
  116. </dl>
  117. </li>
  118. <li><p class="first">Renamed the <tt class="docutils literal"><span class="pre">TaskDaemon</span></tt> to <tt class="docutils literal"><span class="pre">WorkController</span></tt>.</p>
  119. </li>
  120. <li><dl class="first docutils">
  121. <dt><tt class="docutils literal"><span class="pre">celery.datastructures.TaskProcessQueue</span></tt> is now renamed to</dt>
  122. <dd><p class="first last"><tt class="docutils literal"><span class="pre">celery.pool.TaskPool</span></tt>.</p>
  123. </dd>
  124. </dl>
  125. </li>
  126. <li><dl class="first docutils">
  127. <dt>The pool algorithm has been refactored for greater performance and</dt>
  128. <dd><p class="first last">stability.</p>
  129. </dd>
  130. </dl>
  131. </li>
  132. </ul>
  133. </div>
  134. <div class="section" id="id1">
  135. <h2>0.2.0 [2009-05-20 05:14 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
  136. <ul class="simple">
  137. <li>Final release of 0.2.0</li>
  138. <li>Compatible with carrot version 0.4.0.</li>
  139. <li>Fixes some syntax errors related to fetching results
  140. from the database backend.</li>
  141. </ul>
  142. </div>
  143. <div class="section" id="pre3-2009-05-20-05-14-p-m-cet-askh-opera-com">
  144. <h2>0.2.0-pre3 [2009-05-20 05:14 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#pre3-2009-05-20-05-14-p-m-cet-askh-opera-com" title="Permalink to this headline">¶</a></h2>
  145. <ul>
  146. <li><dl class="first docutils">
  147. <dt><em>Internal release</em>. Improved handling of unpickled exceptions,</dt>
  148. <dd><p class="first last">get_result() now tries to recreate something looking like the
  149. original exception.</p>
  150. </dd>
  151. </dl>
  152. </li>
  153. </ul>
  154. </div>
  155. <div class="section" id="pre2-2009-05-20-01-56-p-m-cet-askh-opera-com">
  156. <h2>0.2.0-pre2 [2009-05-20 01:56 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#pre2-2009-05-20-01-56-p-m-cet-askh-opera-com" title="Permalink to this headline">¶</a></h2>
  157. <ul class="simple">
  158. <li>Now handles unpickleable exceptions (like the dynimically generated
  159. subclasses of <tt class="docutils literal"><span class="pre">django.core.exception.MultipleObjectsReturned</span></tt>).</li>
  160. </ul>
  161. </div>
  162. <div class="section" id="pre1-2009-05-20-12-33-p-m-cet-askh-opera-com">
  163. <h2>0.2.0-pre1 [2009-05-20 12:33 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#pre1-2009-05-20-12-33-p-m-cet-askh-opera-com" title="Permalink to this headline">¶</a></h2>
  164. <ul class="simple">
  165. <li>It&#8217;s getting quite stable, with a lot of new features, so bump
  166. version to 0.2. This is a pre-release.</li>
  167. <li><tt class="docutils literal"><span class="pre">celery.task.mark_as_read()</span></tt> and <tt class="docutils literal"><span class="pre">celery.task.mark_as_failure()</span></tt> has
  168. been removed. Use <tt class="docutils literal"><span class="pre">celery.backends.default_backend.mark_as_read()</span></tt>,
  169. and <tt class="docutils literal"><span class="pre">celery.backends.default_backend.mark_as_failure()</span></tt> instead.</li>
  170. </ul>
  171. </div>
  172. <div class="section" id="id2">
  173. <h2>0.1.15 [2009-05-19 04:13 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
  174. <ul class="simple">
  175. <li>The celery daemon was leaking AMQP connections, this should be fixed,
  176. if you have any problems with too many files open (like <tt class="docutils literal"><span class="pre">emfile</span></tt>
  177. errors in <tt class="docutils literal"><span class="pre">rabbit.log</span></tt>, please contact us!</li>
  178. </ul>
  179. </div>
  180. <div class="section" id="id3">
  181. <h2>0.1.14 [2009-05-19 01:08 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
  182. <ul class="simple">
  183. <li>Fixed a syntax error in the <tt class="docutils literal"><span class="pre">TaskSet</span></tt> class. (No such variable
  184. <tt class="docutils literal"><span class="pre">TimeOutError</span></tt>).</li>
  185. </ul>
  186. </div>
  187. <div class="section" id="id4">
  188. <h2>0.1.13 [2009-05-19 12:36 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
  189. <ul>
  190. <li><p class="first">Forgot to add <tt class="docutils literal"><span class="pre">yadayada</span></tt> to install requirements.</p>
  191. </li>
  192. <li><p class="first">Now deletes all expired task results, not just those marked as done.</p>
  193. </li>
  194. <li><p class="first">Able to load the Tokyo Tyrant backend class without django
  195. configuration, can specify tyrant settings directly in the class
  196. constructor.</p>
  197. </li>
  198. <li><p class="first">Improved API documentation</p>
  199. </li>
  200. <li><p class="first">Now using the Sphinx documentation system, you can build
  201. the html documentation by doing</p>
  202. <div class="highlight-python"><pre>$ cd docs
  203. $ make html</pre>
  204. </div>
  205. <p>and the result will be in <tt class="docutils literal"><span class="pre">docs/.build/html</span></tt>.</p>
  206. </li>
  207. </ul>
  208. </div>
  209. <div class="section" id="id5">
  210. <h2>0.1.12 [2009-05-18 04:38 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
  211. <ul>
  212. <li><p class="first"><tt class="docutils literal"><span class="pre">delay_task()</span></tt> etc. now returns <tt class="docutils literal"><span class="pre">celery.task.AsyncResult</span></tt> object,
  213. which lets you check the result and any failure that might have
  214. happened. It kind of works like the <tt class="docutils literal"><span class="pre">multiprocessing.AsyncResult</span></tt>
  215. class returned by <tt class="docutils literal"><span class="pre">multiprocessing.Pool.map_async</span></tt>.</p>
  216. </li>
  217. <li><p class="first">Added dmap() and dmap_async(). This works like the
  218. <tt class="docutils literal"><span class="pre">multiprocessing.Pool</span></tt> versions except they are tasks
  219. distributed to the celery server. Example:</p>
  220. <blockquote>
  221. <div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">celery.task</span> <span class="kn">import</span> <span class="n">dmap</span>
  222. <span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">operator</span>
  223. <span class="gp">&gt;&gt;&gt; </span><span class="n">dmap</span><span class="p">(</span><span class="n">operator</span><span class="o">.</span><span class="n">add</span><span class="p">,</span> <span class="p">[[</span><span class="mf">2</span><span class="p">,</span> <span class="mf">2</span><span class="p">],</span> <span class="p">[</span><span class="mf">4</span><span class="p">,</span> <span class="mf">4</span><span class="p">],</span> <span class="p">[</span><span class="mf">8</span><span class="p">,</span> <span class="mf">8</span><span class="p">]])</span>
  224. <span class="gp">&gt;&gt;&gt; </span><span class="p">[</span><span class="mf">4</span><span class="p">,</span> <span class="mf">8</span><span class="p">,</span> <span class="mf">16</span><span class="p">]</span>
  225. </pre></div>
  226. </div>
  227. <div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">celery.task</span> <span class="kn">import</span> <span class="n">dmap_async</span>
  228. <span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">operator</span>
  229. <span class="gp">&gt;&gt;&gt; </span><span class="n">result</span> <span class="o">=</span> <span class="n">dmap_async</span><span class="p">(</span><span class="n">operator</span><span class="o">.</span><span class="n">add</span><span class="p">,</span> <span class="p">[[</span><span class="mf">2</span><span class="p">,</span> <span class="mf">2</span><span class="p">],</span> <span class="p">[</span><span class="mf">4</span><span class="p">,</span> <span class="mf">4</span><span class="p">],</span> <span class="p">[</span><span class="mf">8</span><span class="p">,</span> <span class="mf">8</span><span class="p">]])</span>
  230. <span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">ready</span><span class="p">()</span>
  231. <span class="go">False</span>
  232. <span class="gp">&gt;&gt;&gt; </span><span class="n">time</span><span class="o">.</span><span class="n">sleep</span><span class="p">(</span><span class="mf">1</span><span class="p">)</span>
  233. <span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">ready</span><span class="p">()</span>
  234. <span class="go">True</span>
  235. <span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">result</span>
  236. <span class="go">[4, 8, 16]</span>
  237. </pre></div>
  238. </div>
  239. </blockquote>
  240. </li>
  241. <li><p class="first">Refactored the task metadata cache and database backends, and added a new backend for Tokyo Tyrant. You can set the backend in your django settings file. e.g</p>
  242. <blockquote>
  243. <p>CELERY_BACKEND = &#8220;database&#8221;; # Uses the database</p>
  244. <p>CELERY_BACKEND = &#8220;cache&#8221;; # Uses the django cache framework</p>
  245. <p>CELERY_BACKEND = &#8220;tyrant&#8221;; # Uses Tokyo Tyrant
  246. TT_HOST = &#8220;localhost&#8221;; # Hostname for the Tokyo Tyrant server.
  247. TT_PORT = 6657; # Port of the Tokyo Tyrant server.</p>
  248. </blockquote>
  249. </li>
  250. </ul>
  251. </div>
  252. <div class="section" id="id6">
  253. <h2>0.1.11 [2009-05-12 02:08 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
  254. <ul class="simple">
  255. <li>The logging system was leaking file descriptors, resulting in
  256. servers stopping with the EMFILES (too many open files) error. (fixed)</li>
  257. </ul>
  258. </div>
  259. <div class="section" id="id7">
  260. <h2>0.1.10 [2009-05-11 12:46 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
  261. <ul class="simple">
  262. <li>Tasks now supports both positional arguments and keyword arguments.</li>
  263. <li>Requires carrot 0.3.8.</li>
  264. <li>The daemon now tries to reconnect if the connection is lost.</li>
  265. </ul>
  266. </div>
  267. <div class="section" id="id8">
  268. <h2>0.1.8 [2009-05-07 12:27 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
  269. <ul class="simple">
  270. <li>Better test coverage</li>
  271. <li>More documentation</li>
  272. <li>celeryd doesn&#8217;t emit <tt class="docutils literal"><span class="pre">Queue</span> <span class="pre">is</span> <span class="pre">empty</span></tt> message if
  273. <tt class="docutils literal"><span class="pre">settings.CELERYD_EMPTY_MSG_EMIT_EVERY</span></tt> is 0.</li>
  274. </ul>
  275. </div>
  276. <div class="section" id="id9">
  277. <h2>0.1.7 [2009-04-30 1:50 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
  278. <ul class="simple">
  279. <li>Added some unittests</li>
  280. <li>Can now use the database for task metadata (like if the task has
  281. been executed or not). Set <tt class="docutils literal"><span class="pre">settings.CELERY_TASK_META</span></tt></li>
  282. <li>Can now run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">test</span></tt> to run the unittests from
  283. within the <tt class="docutils literal"><span class="pre">testproj</span></tt> project.</li>
  284. <li>Can set the AMQP exchange/routing key/queue using
  285. <tt class="docutils literal"><span class="pre">settings.CELERY_AMQP_EXCHANGE</span></tt>, <tt class="docutils literal"><span class="pre">settings.CELERY_AMQP_ROUTING_KEY</span></tt>,
  286. and <tt class="docutils literal"><span class="pre">settings.CELERY_AMQP_CONSUMER_QUEUE</span></tt>.</li>
  287. </ul>
  288. </div>
  289. <div class="section" id="id10">
  290. <h2>0.1.6 [2009-04-28 2:13 P.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
  291. <blockquote>
  292. <ul class="simple">
  293. <li>Introducing <tt class="docutils literal"><span class="pre">TaskSet</span></tt>. A set of subtasks is executed and you can
  294. find out how many, or if all them, are done (excellent for progress bars and such)</li>
  295. <li>Now catches all exceptions when running <tt class="docutils literal"><span class="pre">Task.__call__</span></tt>, so the
  296. daemon doesn&#8217;t die. This does&#8217;t happen for pure functions yet, only
  297. <tt class="docutils literal"><span class="pre">Task</span></tt> classes.</li>
  298. <li><tt class="docutils literal"><span class="pre">autodiscover()</span></tt> now works with zipped eggs.</li>
  299. <li>celeryd: Now adds curernt working directory to <tt class="docutils literal"><span class="pre">sys.path</span></tt> for
  300. convenience.</li>
  301. <li>The <tt class="docutils literal"><span class="pre">run_every</span></tt> attribute of <tt class="docutils literal"><span class="pre">PeriodicTask</span></tt> classes can now be a
  302. <tt class="docutils literal"><span class="pre">datetime.timedelta()</span></tt> object.</li>
  303. <li>celeryd: You can now set the <tt class="docutils literal"><span class="pre">DJANGO_PROJECT_DIR</span></tt> variable
  304. for <tt class="docutils literal"><span class="pre">celeryd</span></tt> and it will add that to <tt class="docutils literal"><span class="pre">sys.path</span></tt> for easy launching.</li>
  305. <li>Can now check if a task has been executed or not via HTTP.</li>
  306. </ul>
  307. <p>You can do this by including the celery <tt class="docutils literal"><span class="pre">urls.py</span></tt> into your project,</p>
  308. <div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">url</span><span class="p">(</span><span class="s">r&#39;^celery/$&#39;</span><span class="p">,</span> <span class="n">include</span><span class="p">(</span><span class="s">&quot;celery.urls&quot;</span><span class="p">))</span>
  309. </pre></div>
  310. </div>
  311. <p>then visiting the following url,:</p>
  312. <div class="highlight-python"><pre>http://mysite/celery/$task_id/done/</pre>
  313. </div>
  314. <p>this will return a JSON dictionary like e.g:</p>
  315. <div class="highlight-python"><pre>&gt;&gt;&gt; {"task": {"id": $task_id, "executed": true}}</pre>
  316. </div>
  317. <ul class="simple">
  318. <li><tt class="docutils literal"><span class="pre">delay_task</span></tt> now returns string id, not <tt class="docutils literal"><span class="pre">uuid.UUID</span></tt> instance.</li>
  319. <li>Now has <tt class="docutils literal"><span class="pre">PeriodicTasks</span></tt>, to have <tt class="docutils literal"><span class="pre">cron</span></tt> like functionality.</li>
  320. <li>Project changed name from <tt class="docutils literal"><span class="pre">crunchy</span></tt> to <tt class="docutils literal"><span class="pre">celery</span></tt>. The details of
  321. the name change request is in <tt class="docutils literal"><span class="pre">docs/name_change_request.txt</span></tt>.</li>
  322. </ul>
  323. </blockquote>
  324. </div>
  325. <div class="section" id="a-m-cet-askh-opera-com">
  326. <h2>0.1.0 [2009-04-24 11:28 A.M CET] <a class="reference external" href="mailto:askh&#37;&#52;&#48;opera&#46;com">askh<span>&#64;</span>opera<span>&#46;</span>com</a><a class="headerlink" href="#a-m-cet-askh-opera-com" title="Permalink to this headline">¶</a></h2>
  327. <ul class="simple">
  328. <li>Initial release</li>
  329. </ul>
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. <div class="sidebar">
  337. <h3>Contents</h3>
  338. <ul class="current">
  339. <li class="toctree-l1"><a class="reference external" href="introduction.html">celery - Distributed Task Queue for Django.</a></li>
  340. <li class="toctree-l1"><a class="reference external" href="faq.html">Frequently Asked Questions</a></li>
  341. <li class="toctree-l1"><a class="reference external" href="reference/index.html">Module API Reference</a></li>
  342. <li class="toctree-l1 current"><a class="current reference external" href="">Change history</a><ul>
  343. <li class="toctree-l2"><a class="reference external" href="#p-m-cet-askh-opera-com">0.3.0 [2009-06-08 12:41 P.M CET] askh&#64;opera.com</a></li>
  344. <li class="toctree-l2"><a class="reference external" href="#id1">0.2.0 [2009-05-20 05:14 P.M CET] askh&#64;opera.com</a></li>
  345. <li class="toctree-l2"><a class="reference external" href="#pre3-2009-05-20-05-14-p-m-cet-askh-opera-com">0.2.0-pre3 [2009-05-20 05:14 P.M CET] askh&#64;opera.com</a></li>
  346. <li class="toctree-l2"><a class="reference external" href="#pre2-2009-05-20-01-56-p-m-cet-askh-opera-com">0.2.0-pre2 [2009-05-20 01:56 P.M CET] askh&#64;opera.com</a></li>
  347. <li class="toctree-l2"><a class="reference external" href="#pre1-2009-05-20-12-33-p-m-cet-askh-opera-com">0.2.0-pre1 [2009-05-20 12:33 P.M CET] askh&#64;opera.com</a></li>
  348. <li class="toctree-l2"><a class="reference external" href="#id2">0.1.15 [2009-05-19 04:13 P.M CET] askh&#64;opera.com</a></li>
  349. <li class="toctree-l2"><a class="reference external" href="#id3">0.1.14 [2009-05-19 01:08 P.M CET] askh&#64;opera.com</a></li>
  350. <li class="toctree-l2"><a class="reference external" href="#id4">0.1.13 [2009-05-19 12:36 P.M CET] askh&#64;opera.com</a></li>
  351. <li class="toctree-l2"><a class="reference external" href="#id5">0.1.12 [2009-05-18 04:38 P.M CET] askh&#64;opera.com</a></li>
  352. <li class="toctree-l2"><a class="reference external" href="#id6">0.1.11 [2009-05-12 02:08 P.M CET] askh&#64;opera.com</a></li>
  353. <li class="toctree-l2"><a class="reference external" href="#id7">0.1.10 [2009-05-11 12:46 P.M CET] askh&#64;opera.com</a></li>
  354. <li class="toctree-l2"><a class="reference external" href="#id8">0.1.8 [2009-05-07 12:27 P.M CET] askh&#64;opera.com</a></li>
  355. <li class="toctree-l2"><a class="reference external" href="#id9">0.1.7 [2009-04-30 1:50 P.M CET] askh&#64;opera.com</a></li>
  356. <li class="toctree-l2"><a class="reference external" href="#id10">0.1.6 [2009-04-28 2:13 P.M CET] askh&#64;opera.com</a></li>
  357. <li class="toctree-l2"><a class="reference external" href="#a-m-cet-askh-opera-com">0.1.0 [2009-04-24 11:28 A.M CET] askh&#64;opera.com</a></li>
  358. </ul>
  359. </li>
  360. </ul>
  361. <h3 style="margin-top: 1.5em;">Search</h3>
  362. <form class="search" action="search.html" method="get">
  363. <input type="text" name="q" size="18" />
  364. <input type="submit" value="Go" />
  365. <input type="hidden" name="check_keywords" value="yes" />
  366. <input type="hidden" name="area" value="default" />
  367. </form>
  368. <p class="searchtip" style="font-size: 90%">
  369. Enter search terms or a module, class or function name.
  370. </p>
  371. </div>
  372. <div class="clearer"></div>
  373. </div>
  374. </div>
  375. <div class="footer-wrapper">
  376. <div class="footer">
  377. <div class="left">
  378. <a href="genindex.html" title="General Index"
  379. >index</a> |
  380. <a href="modindex.html" title="Global Module Index"
  381. >modules</a> |
  382. <a href="reference/celery.bin.celeryd.html" title="Celery Worker Daemon - celery.bin.celeryd"
  383. >previous</a>
  384. <br/>
  385. <a href="sources/changelog.txt"
  386. rel="nofollow">Show Source</a>
  387. </div>
  388. <div class="right">
  389. &copy; Copyright 2009, Ask Solem.<br/>
  390. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
  391. </div>
  392. <div class="clearer"></div>
  393. </div>
  394. </div>
  395. </body>
  396. </html>