Skip to content

Instantly share code, notes, and snippets.

@ainvyu
Created February 22, 2012 07:21
Show Gist options
  • Save ainvyu/1882996 to your computer and use it in GitHub Desktop.
Save ainvyu/1882996 to your computer and use it in GitHub Desktop.
perlbrew
PERLBREW_PERL="perl-5.14.2"
10 0 * * * envi PATH="$HOME/perl5/perlbrew/perls/$PERLBREW_PERL/bin:$PATH" /usr/bin/env perl /some/script_path
@keedi
Copy link

keedi commented Feb 22, 2012

저라면 크론으로 실행하는 것이라면 다른 환경 변수 설정 없이 실행할 펄 바이너리만 명시적으로 적어줄 것 같습니다. :-)

/home/askdna.debian/perl5/perlbrew/perls/perl-5.14.2/bin/perl /some/script_path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment