Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

logrotate for rails apps

  • Loading branch information...
commit 4e05a5def8e7a9759b21e9d0101976344f53d919 1 parent 67d32b7
Fran Casas authored

Showing 2 changed files with 6 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 1 others/config/schedule.rb
  2. +3 2 zsh/zshrc
4 others/config/schedule.rb
@@ -19,6 +19,8 @@
19 19
20 20 # Learn more: http://github.com/javan/whenever
21 21
22   -every 1.day, at: '15:00' do
  22 +env :PATH, "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin"
  23 +
  24 +every 2.hours do
23 25 command "logrotate --state=/tmp/logrotate.state /projects/dot-files/others/logrotate.conf"
24 26 end
5 zsh/zshrc
@@ -4,6 +4,7 @@ export ZSH=$HOME/.oh-my-zsh
4 4
5 5 # export ZSH_THEME="eastwood"
6 6 export ZSH_THEME="gallois"
  7 +export DISABLE_AUTO_TITLE=true
7 8
8 9 plugins=(brew git gem rails3 pow)
9 10
@@ -15,8 +16,8 @@ export PATH="~/bin:/usr/local/Cellar/bin:/usr/local/bin:/usr/local/sbin:/usr/loc
15 16 export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r6
16 17 # Node.js load path
17 18 export NODE_PATH=/usr/local/lib/node_modules
18   -# Set macvim as the default editor
19   -export EDITOR='/usr/local/bin/mvim -f'
  19 +# Set Vim as the default editor
  20 +export EDITOR='vim'
20 21 export PAGER='/usr/local/bin/vimpager'
21 22
22 23 # Load RVM

0 comments on commit 4e05a5d

Please sign in to comment.
Something went wrong with that request. Please try again.