<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4276667104978676221.post2947568678126492390..comments</id><updated>2010-09-22T10:05:53.177-07:00</updated><category term='ruby'/><category term='facebook'/><category term='Heroku'/><category term='hackintosh'/><category term='jQuery'/><category term='sortable'/><category term='UI'/><category term='DelayedJob'/><category term='api'/><category term='scheduled'/><category term='django'/><category term='Apple'/><category term='draggable'/><category term='proprietary platform'/><category term='OS X'/><category term='tasks'/><category term='ruby on rails'/><category term='iPhone'/><category term='register'/><category term='jobs'/><category term='clone()'/><category term='mac finder'/><category term='rails'/><category term='turbogears'/><category term='iPhone OS 4'/><category term='oauth'/><category term='registration'/><category term='iPad'/><category term='tree'/><category term='opengraph'/><category term='closed platform'/><title type='text'>Comments on WiseJive: Heroku and  jobs on a timer...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.wisejive.com/feeds/2947568678126492390/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html'/><author><name>Jamie</name><uri>http://www.blogger.com/profile/07322322127591539602</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/__zmTGYsardY/StPZbymvCzI/AAAAAAAAABo/hVTNqGlL6tI/S220/Camera+Pics+290.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-9092501579151697436</id><published>2010-09-22T10:05:53.158-07:00</published><updated>2010-09-22T10:05:53.158-07:00</updated><title type='text'>@LoudCaster very good point, when running on Racks...</title><content type='html'>@LoudCaster very good point, when running on Rackspace Cloud servers I used a separate script to kick off the background jobs.  On Heroku I think a custom rake task would probably be a better way to do this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/9092501579151697436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/9092501579151697436'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1285175153158#c9092501579151697436' title=''/><author><name>Jamie</name><uri>http://www.blogger.com/profile/07322322127591539602</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/__zmTGYsardY/StPZbymvCzI/AAAAAAAAABo/hVTNqGlL6tI/S220/Camera+Pics+290.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1439764664'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-1521576966745516345</id><published>2010-09-19T11:30:47.519-07:00</published><updated>2010-09-19T11:30:47.519-07:00</updated><title type='text'>If you plan on running more than one worker, it mi...</title><content type='html'>If you plan on running more than one worker, it might be better to kick off the seed job from a rake task rather than application startup. Otherwise you&amp;#39;ll end up running the action concurrently xN times.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1521576966745516345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1521576966745516345'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1284921047519#c1521576966745516345' title=''/><author><name>Jamie</name><uri>http://www.blogger.com/profile/07322322127591539602</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/__zmTGYsardY/StPZbymvCzI/AAAAAAAAABo/hVTNqGlL6tI/S220/Camera+Pics+290.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1439764664'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-1952657512135119084</id><published>2010-04-11T20:26:17.925-07:00</published><updated>2010-04-11T20:26:17.925-07:00</updated><title type='text'>@Jay, not sure how that happened, when I did it, i...</title><content type='html'>@Jay, not sure how that happened, when I did it, it was $15/month for one thread, but maybe they changed the pricing.  I eventually had to move my application to Rackspace&amp;#39;s cloud because I needed more than 1 thread (which I think Heroku supports now, but didn&amp;#39;t then).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1952657512135119084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1952657512135119084'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1271042777925#c1952657512135119084' title=''/><author><name>Jamie</name><uri>http://www.blogger.com/profile/07322322127591539602</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://4.bp.blogspot.com/__zmTGYsardY/StPZbymvCzI/AAAAAAAAABo/hVTNqGlL6tI/S220/Camera+Pics+290.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1439764664'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-1264447141427018300</id><published>2010-04-07T07:39:05.019-07:00</published><updated>2010-04-07T07:39:05.019-07:00</updated><title type='text'>How did you determine the cost to be $15/month?  
...</title><content type='html'>How did you determine the cost to be $15/month?  &lt;br /&gt;&lt;br /&gt;When I tried adding a DelayedJob to my app, I was forced to add 1 &amp;quot;Worker&amp;quot; (using Heroku&amp;#39;s terminology) and my monthly cost went from $0 to $36!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1264447141427018300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/1264447141427018300'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1270651145019#c1264447141427018300' title=''/><author><name>Jay Thrash</name><uri>http://www.blogger.com/profile/09619314259276252538</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1876452554'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-4800247765426200758</id><published>2010-01-13T20:57:24.829-08:00</published><updated>2010-01-13T20:57:24.829-08:00</updated><title type='text'>Thanks for this! Your solution worked perfect in m...</title><content type='html'>Thanks for this! Your solution worked perfect in my project. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/4800247765426200758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/4800247765426200758'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1263445044829#c4800247765426200758' title=''/><author><name>calebcohoon</name><uri>http://calebcohoon.myopenid.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1144979879'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-6690390170673591990</id><published>2009-12-20T20:32:57.618-08:00</published><updated>2009-12-20T20:32:57.618-08:00</updated><title type='text'>I posted this on Heroku support, but another simpl...</title><content type='html'>I posted this on Heroku support, but another simple way of doing this is just to schedule another job at the end of the perform method.&lt;br /&gt;&lt;br /&gt;http://gist.github.com/260779</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/6690390170673591990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/6690390170673591990'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1261369977618#c6690390170673591990' title=''/><author><name>jotto</name><uri>http://www.blogger.com/profile/18095442556046866990</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp0.blogger.com/_OMulLSIQQl4/SE_mPHGXKqI/AAAAAAAAAB8/QRxLyn5DNtk/S220/jonathan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-773314634'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-2000370251133415420</id><published>2009-12-14T22:52:04.170-08:00</published><updated>2009-12-14T22:52:04.170-08:00</updated><title type='text'>I found that creating my recurring job during afte...</title><content type='html'>I found that creating my recurring job during after_initialize was messy... (what if you start the app in the console while it&amp;#39;s running on the server?). So I created a rake task to create my first job. Once the first job is created, then running rake jobs:work will just pick up where you left off. No need worrying about creating a duplicate job.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/2000370251133415420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/2000370251133415420'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1260859924170#c2000370251133415420' title=''/><author><name>Matthew</name><uri>http://www.blogger.com/profile/08881334341845423226</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-954549530'/></entry><entry><id>tag:blogger.com,1999:blog-4276667104978676221.post-8990945372774841054</id><published>2009-10-02T12:09:56.213-07:00</published><updated>2009-10-02T12:09:56.213-07:00</updated><title type='text'>FYI, you can also just do Delayed::Job.destroy_all...</title><content type='html'>FYI, you can also just do Delayed::Job.destroy_all.   You can use any of the ActiveRecord methods: http://api.rubyonrails.org/classes/ActiveRecord/Base.html&lt;br /&gt;&lt;br /&gt;Thanks for the tip about setting the run time for jobs.  I didn&amp;#39;t know you could do that!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/8990945372774841054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4276667104978676221/2947568678126492390/comments/default/8990945372774841054'/><link rel='alternate' type='text/html' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html?showComment=1254510596213#c8990945372774841054' title=''/><author><name>Erik</name><uri>http://www.blogger.com/profile/05378825926763602485</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.wisejive.com/2009/08/heroku-and-jobs-on-timer.html' ref='tag:blogger.com,1999:blog-4276667104978676221.post-2947568678126492390' source='http://www.blogger.com/feeds/4276667104978676221/posts/default/2947568678126492390' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-437943983'/></entry></feed>
