Skip to content

Instantly share code, notes, and snippets.

@nkwhr
Created April 3, 2014 08:26
Show Gist options
  • Save nkwhr/9950557 to your computer and use it in GitHub Desktop.
Save nkwhr/9950557 to your computer and use it in GitHub Desktop.
helper script for executing plenv + carton app in cron.
#!/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