Created
January 27, 2009 04:02
-
-
Save joho/53167 to your computer and use it in GitHub Desktop.
cheap and easy way to manage crontab with cap
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
# the simplest thing that could work... | |
desc 'install crontab from config/crontab.txt' | |
task :install_crontab, :roles => :cron_runner, :except => { :no_release => true, :no_symlink => true } do | |
run "cd #{current_release}; crontab config/crontab.txt" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment