<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <link>http://persumi.com/u/fredwu/tech/e/blog/t/delayed_job</link>
    <generator>Persumi - Level up your writing and blogging with AI</generator>
    <category>Blog</category>
    <category>Tech</category>
    <pubDate>Sat, 16 May 2026 04:53:03 +0000</pubDate>
    <description/>
    <title>Blog (delayed_job) - Fred Wu&apos;s Tech</title>
    <atom:link type="application/rss+xml" rel="self" href="http://persumi.com/u/fredwu/tech/e/blog/t/delayed_job/feed/rss"></atom:link>
    <item>
      <pubDate>Thu, 25 Mar 2010 11:53:00 +0000</pubDate>
      <guid>http://persumi.com/u/fredwu/tech/e/blog/p/rails-run-queued-tasks-using-delayed-job-now-with-intervals</guid>
      <comments>http://persumi.com/u/fredwu/tech/e/blog/p/rails-run-queued-tasks-using-delayed-job-now-with-intervals</comments>
      <category>Blog</category>
      <category>Tech</category>
      <author>ifredwu@gmail.com (Fred Wu)</author>
      <description>&lt;![CDATA[&lt;p&gt;
If you don’t already know, ’&lt;a href=&quot;http://github.com/collectiveidea/delayed_job&quot;&gt;delayed_job&lt;/a&gt;’ is a database based asynchronously priority queue system extracted from &lt;a href=&quot;http://www.shopify.com/&quot;&gt;Shopify&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
I was seeking for a lightweight, easy to use solution for queueing tasks, ‘delayed&lt;em&gt;job’ fits the bill _almost&lt;/em&gt; perfectly. ;)&lt;/p&gt;
&lt;p&gt;
One thing we needed to do for a Rails 2 project at &lt;a href=&quot;http://envato.com/&quot;&gt;Envato&lt;/a&gt;, was to queue the tasks and to run them one after another, at a set interval. ‘delayed_job’ unfortunately doesn’t come with this feature.&lt;/p&gt;
&lt;p&gt;
So, instead of searching for more complicated solutions or reinventing the wheels, I&lt;a href=&quot;http://github.com/fredwu/delayed_job&quot;&gt;made a couple of commits to my fork&lt;/a&gt; to add this functionality as well as to fix some rails 3 compatibility issues.&lt;/p&gt;
&lt;p&gt;
Now you can simply add the following line to your &lt;code class=&quot;inline&quot;&gt;config/initializers/delayed_job_config.rb&lt;/code&gt; file to have the tasks run at 1 minute interval.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;ruby language-ruby&quot;&gt;Delayed::Worker.run_interval = 60&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
A pull request has been issued, hopefully it’ll come as a standard feature soon. :)&lt;/p&gt;
]]&gt;</description>
      <link>http://persumi.com/u/fredwu/tech/e/blog/p/rails-run-queued-tasks-using-delayed-job-now-with-intervals</link>
      <title>[Rails] Run Queued Tasks Using &apos;delayed_job&apos;, Now With Intervals!</title>
    </item>
  </channel>
</rss>