diff --git a/.gitignore b/.gitignore index af16e87b..c1030982 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ /config/*.staging-epic.yml /config/deploy/staging-epic.rb /coverage -/log +/log/*.* /public/assets /public/uploads /rubocop.html diff --git a/config/schedule.rb b/config/schedule.rb index 4132ba28..f7ad2f74 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -19,7 +19,7 @@ # Learn more: http://github.com/javan/whenever -set :output, Whenever.path + '/log/whenever_$(date +%Y%m%d%H%M%S).log' +set :output, Whenever.path + '/log/whenever/whenever_$(date +%Y%m%d%H%M%S).log' set :environment, ENV['RAILS_ENV'] if ENV['RAILS_ENV'] every 1.day, at: '3:00 am' do diff --git a/log/whenever/.gitignore b/log/whenever/.gitignore new file mode 100644 index 00000000..397b4a76 --- /dev/null +++ b/log/whenever/.gitignore @@ -0,0 +1 @@ +*.log