Skip to content

Instantly share code, notes, and snippets.

@nikushi
Created June 24, 2013 07:52
Show Gist options
  • Save nikushi/5848417 to your computer and use it in GitHub Desktop.
Save nikushi/5848417 to your computer and use it in GitHub Desktop.
rbenv環境でcrontabでスクリプトを実行。いろいろ微妙な気がしている。
* * * * * /bin/bash -lc "cd $HOME/app && RUBY_ENV=production ./scripts/batch.rb > /dev/null"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment