I recommend using Resque w/ Resque Scheduler for this. One of the major benefits is the web front end that Resque already has.
If your background tasks aren't going to happen very often then DJ would be fine. On Heroku I would just add an hourly cron that would put the jobs into the DJ queue for the following hour. - James On Tue, Jul 27, 2010 at 9:15 AM, Russell Quinn <[email protected]> wrote: > I'm migrating an iPhone app backend server from Brightbox to Heroku. > One thing the app does is perform a rake task every 15 minutes to > check for various things including sending Push Notifications in > batches. > > I understand that this rake task should probably be run in a Delayed > Job task, but how do I put one new Delayed Job task in the queue every > 15 minutes? i.e. There is no user task performed to trigger the > creation of new jobs, rather they need to be created every 15 minutes. > > Thanks, > > Russell. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
