Created
September 2, 2009 19:11
-
-
Save gordonbisnor/179912 to your computer and use it in GitHub Desktop.
Getting Javan Whenever working with Capistrano on WebFaction
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
after "deploy:symlink", "deploy:update_crontab" | |
namespace :deploy do | |
desc "Write Crontab" | |
task :update_crontab, :roles => :app do | |
run "cd #{release_path} && /home/#{user}/ruby1.8/lib/ruby/gems/1.8/bin/whenever --write-crontab" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment