Created
January 22, 2014 03:47
-
-
Save jun1st/8553203 to your computer and use it in GitHub Desktop.
update crontab with whenever
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
desc "update crotab with whenever" | |
task :update_crontab do | |
on roles(:all) do | |
within release_path do | |
execute :bundle, :exec, "whenever --update-crontab #{fetch(:whenever_identifier)} " | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment