1.使用crontab 执行shell脚本  sh内容为  cd /home/www;php index.php

2.使用crontab 执行curl命令 命令内容为 curl http://yourdomain.com/index.php

 

相关文章: