Created
June 18, 2009 00:24
-
-
Save gordonbisnor/131617 to your computer and use it in GitHub Desktop.
Getting javan-whenever running with Ec2onRails
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
namespace :deploy do | |
desc "write the crontab file" | |
task :write_crontab, :roles => [:db_admin] do | |
run "cd #{release_path} && sudo -u root whenever --write-crontab #{application}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment