linux下 定时执行php的问题,代码如下,就是不会执行,求原因。求指教

2025年05月06日 10:19
有2个网友回答
网友(1):

所有的人都不可执行
chmod a-x dirname/*.php

除了自己以外的人不可执行
chmod go-x dirname/*.php

自动继承目录权限
chmod a+s dirname

网友(2):

运行 /sbin/service crond restart
确认你的crontab服务是否在运行中