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

2025-05-06 10:19:51
推荐回答(2个)
回答1:

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

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

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

回答2:

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