vim /etc/crontab
00 */1 * * * root /bin/sh /sh/demo.sh
vim demo.sh
#!/bin/bash
/usr/bin/curl https://www.baidu.com/
Linux定时访问URL
最新推荐文章于 2024-06-11 10:40:45 发布
vim /etc/crontab
00 */1 * * * root /bin/sh /sh/demo.sh
vim demo.sh
#!/bin/bash
/usr/bin/curl https://www.baidu.com/