Centos PHP-FPM Cron

前端之家收集整理的这篇文章主要介绍了Centos PHP-FPM Cron前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在Centos vps盒子上安装了Nginx和@R_301_461@-fpm.我需要添加一个cronjob来每10分钟执行一次脚本.我尝试了crontab -e,其中包含以下内容
*/10 * * * * /path/to/script/script.@R_301_461@

但是,它没有正确执行.它说@R_301_461@代码中有错误而没有

尝试安装@R_301_461@-cli时出错

--> Running transaction check
---> Package @R_301_461@-cli.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: @R_301_461@-common = 5.1.6-27.el5_5.3 for package: @R_301_461@-cli
--> Finished Dependency Resolution
@R_301_461@-cli-5.1.6-27.el5_5.3.i386 from base has depsolving problems
  --> Missing Dependency: @R_301_461@-common = 5.1.6-27.el5_5.3 is needed by package @R_301_461@-cli-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: @R_301_461@-common = 5.1.6-27.el5_5.3 is needed by package @R_301_461@-cli-5.1.6-27.el5_5.3.i386 (base)
@R_301_461@-fpm只是fastcgi ..也安装@R_301_461@-cli包

编辑

您必须启用repo才能安装

yum -y --enablerepo=webtatic install @R_301_461@-cli
原文链接:https://www.f2er.com/centos/373529.html

猜你在找的CentOS相关文章