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 <p...@surfshopcart.com> 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.
>
>         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 a script with cron, I can't seem to get it to run with the perlbrew
> version.  I've even tried it with just the path to the script, as mentioned
> by ikegami here:
>
> https://stackoverflow.com/questions/47457834/running-a-
> perl-script-from-crontab-when-you-use-perlbrew
>
>         Unfortunately, I don't have anymore to go on than this as,
> literally, nothing happens - the script doesn't get run and I don't get an
> error email from cron, so I don't know where to look.
>
> Thanks,
> Frank
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to