Created
May 9, 2011 07:51
-
-
Save a-chernykh/962210 to your computer and use it in GitHub Desktop.
whenever + capistrano - custom log path
This file contains hidden or 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
# Configure whenever | |
set :whenever_environment, rails_env | |
set :whenever_output, '/var/www/apps/alt12/current/log/crontab.log' | |
set :whenever_update_flags, "--update-crontab #{whenever_identifier} --set environment=#{whenever_environment}\\&output=#{whenever_output}" # notice the escaping \& passed to the shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment