Skip to content

Instantly share code, notes, and snippets.

@fabioyamate
Created November 11, 2010 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabioyamate/672064 to your computer and use it in GitHub Desktop.
Save fabioyamate/672064 to your computer and use it in GitHub Desktop.
Whenever schedule config using RVM
# Using Whenever + RVM
#
# - http://blog.scoutapp.com/articles/2010/09/07/rvm-and-cron-in-production
# - Add .rvmrc to you project folder
#
set :output, "#{ENV['HOME']}/log/cron_log.log"
set :job_template, "/bin/bash -l -c ':job'"
every 15.minutes do
rake "..."
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment