Forum: Ruby on Rails What's this called (nuby on rails question)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sam W. (Guest)
on 2009-01-13 11:29
(Received via mailing list)
When your server does 1 Ruby operation a day without anyone having to
visit the site to make it happen. Let's say the operation would be to
create an automatic blog post on your blog site every 24 hours. This
is an example what I am curious about if any RoR code can be run
without users visiting. Also is this an advanced or beginner's topic?

Vishwanath N. (Guest)
on 2009-01-13 12:06
(Received via mailing list)

Based on your OS you can schedule a CRON job/ scheduled task to hit an
to create a blog etc


On Tue, Jan 13, 2009 at 11:51 AM, Sam W. <removed_email_address@domain.invalid>

> >

Sazima (Guest)
on 2009-01-13 16:22
(Received via mailing list)

I performed an analysis on background processing alternatives (see
below). I greatly recommend rolling out your own daemon for recurring
jobs, or using starling+workling for offloading jobs from your rails
app. Both alternatives are covered in excellent railscasts by Ryan

Cheers, Sazima


== Asynchronous Tasks

Launched from Rails request/reponse cycle + optional Message Queueing

- Options
  . ar_mailer (only for emails)  => GOOD (only email)
  . starling + workling      => EXCELLENT
  . Ap4r
  . Spawn / background      => SIMPLE
  . ActiveMessaging
  . BackgroundFu
  . WorkerQueue
  . Rake in Background      => SIMPLE

== Recurring Jobs (cron-style)

Scheduled or permanently running in the background

- Options
  . daemon_generator (rails_cron)  => SIMPLE
  . BackgrounDRb
  . rufus-scheduler        => GOOD
  . Taskr
  . UNIX Cron and Runner (simple, but consumes resources and you can't
controll well)
This topic is locked and can not be replied to.