只需一步,快速开始
举报
longhtml 发表于 2021-6-10 19:22 你可以尝试让ip_table的输出的log更丰富一点,我不是知道在ssh终端里面直接执行/root/xx.sh的log是怎么样的 ...
h20 发表于 2021-6-10 19:06 crontab里的PATH和pwd可能不是你想象的那样
longhtml 发表于 2021-6-10 18:57 看日志,定时任务已经执行了。你把命令放到一个xx.sh脚本里面,赋予执行权限:chmod +x xx.sh。定时任务的 ...
longhtml 发表于 2021-6-10 18:36 命令末尾加 >/dev/null 2>&1
本版积分规则 发表回复
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2026-1-9 09:49 , Processed in 0.069898 second(s), 11 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.