确认 crond 服务
sudo systemctl status crond # 检查状态
sudo systemctl start crond # 如果未运行,启动并设置开机自启
sudo systemctl enable crond
crontab -l #查看
crontab -e #编辑修改
sudo tail -f /var/log/cron #查看最近的定时任务日志
curl 运行403
<Location />
Require ip **.**.**.**
</Location>
加了Require ip 127.0.0.1以及 ssl.conf 后,403 forbidden->404 not found
查看新增的rag.conf文件
DocumentRoot 文件目录错误 且
<Location /> <Directory >双重限制,逻辑混乱
改正后curl 运行正常