Created
November 11, 2010 05:35
-
-
Save fabioyamate/672064 to your computer and use it in GitHub Desktop.
Whenever schedule config using RVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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