Skip to content

Instantly share code, notes, and snippets.

@gordonbisnor
Created June 18, 2009 00:24
Show Gist options
  • Save gordonbisnor/131617 to your computer and use it in GitHub Desktop.
Save gordonbisnor/131617 to your computer and use it in GitHub Desktop.
Getting javan-whenever running with Ec2onRails
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