Re: perlbrew and cron

2017-12-07 Thread Hao Wu
0 23 * * * /path/to/perlbrew exec --with perl-5.20.0 perl /path/to/app.pl On Thu, Dec 7, 2017 at 10:38 AM, SSC_perl wrote: > After moving to a VPS, I'm finally able to use perlbrew to use the > latest perl, but it's not working the same as it does on my Mac. > >

Re: perlbrew and cron

2017-12-07 Thread Chris Fedde
You have to make sure that the cron job has the right path. Usually it can be as easy as calling a wrapper script that sets up the correct environment. On Thu, Dec 7, 2017 at 1:38 PM, SSC_perl wrote: > After moving to a VPS, I'm finally able to use perlbrew to

perlbrew and cron

2017-12-07 Thread SSC_perl
After moving to a VPS, I'm finally able to use perlbrew to use the latest perl, but it's not working the same as it does on my Mac. In terminal, I can call a perl script with either the full path to perl or with an alias I've set up in .bashrc. So far, so good. However, to run