Skip to content

Instantly share code, notes, and snippets.

@jmblog
Last active December 10, 2015 22:08
Show Gist options
  • Save jmblog/4499467 to your computer and use it in GitHub Desktop.
Save jmblog/4499467 to your computer and use it in GitHub Desktop.
perlbrewで入れたPerlをcronで実行する方法。bash の l オプションをつけるだけでよさげ。
* * * * * bash -lc 'perl -v > $HOME/perl-env.log 2>&1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment