Created
March 31, 2018 04:50
-
-
Save mystix/d6445d4f426bf05cb54f8af8fe2bce6d to your computer and use it in GitHub Desktop.
[OSX] Cron + zsh + rbenv
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
*/15 * * * * $(which zsh) -lc 'export PATH=/usr/local/bin:/usr/local/sbin:$PATH; eval "$(rbenv init -)"; ruby SOME_SCRIPT.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment