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-04-30 14:01:42 发布
vim /etc/crontab
00 */1 * * * root /bin/sh /sh/demo.sh
vim demo.sh
#!/bin/bash
/usr/bin/curl https://www.baidu.com/