Add logging to cron

This commit is contained in:
Martin Lensment 2014-12-02 16:08:08 +02:00
parent 72040b0380
commit 3bb3bc3aa9
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ task deploy: :environment do
invoke :'bundle:install'
invoke :'rails:db_migrate'
invoke :'rails:assets_precompile'
# invoke :'whenever:update'
invoke :'whenever:update'
to :launch do
queue "mkdir -p #{deploy_to}/current/tmp; touch #{deploy_to}/current/tmp/restart.txt"

View file

@ -5,7 +5,7 @@
# Example:
#
# set :output, "/path/to/my/cron_log.log"
set :output, 'log/cron.log'
#
# every 2.hours do
# command "/usr/bin/some_great_command"