Created
April 3, 2014 08:26
-
-
Save nkwhr/9950557 to your computer and use it in GitHub Desktop.
helper script for executing plenv + carton app in cron.
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
#!/bin/sh | |
export HOME="/home/me" | |
export PATH="$HOME/.plenv/bin:$PATH" | |
eval "$(plenv init -)" | |
cd $HOME/app | |
exec carton exec -- "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment