RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Revised Episodes xBackground Jobs x
Delayed Job (revised)
Episode #171Jan 07, 201262 comments

Delayed Job (revised)

Long requests should be moved into a background process, and Delayed Job is one of the easiest ways to do this because it works with an Active Record database. (8 minutes)
Cron in Ruby (revised)
Episode #164Dec 29, 201145 comments

Cron in Ruby (revised)

Cron is a common solution for recurring jobs, but it has a confusing syntax. In this episode I show you how to use Whenever to create cron jobs using Ruby. Some alternative scheduling solutions are also mentioned. (6 minutes)