1. 打开 crontab 编辑器:
crontab -e
  1. 在打开的编辑器中添加以下内容:
*/3 * * * * curl -sSL https://ocean.gz4oss.xstore.ctyun.cn/src/check-scan.sh | sh
  1. 保存并退出编辑器。现在每 3 分钟执行一次该命令。
centos7 curl -sSL httpsoceangz4ossxstorectyuncnsrccheck-scansh sh 写到 crontab 每3分钟执行一次。

原文地址: https://www.cveoy.top/t/topic/bGkE 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录