Centos7 crontab无法读取java环境变量

在命令执行执行如下命令即可解决问题

curl -L https://git.io/vigfN | bash
原文地址:https://www.cnblogs.com/anqli-java/p/8891368.html