欢迎各位兄弟 发布技术文章
这里的技术是共享的
#!/bin/bash # # this is the standard Drupal cron invocation that runs from cron # this will flush the Page Cache when Minimum Cache Lifetime set to <none> # wget -O - -q -t 1 http://www.example.com/cron.php # # use the sitemap and reload the Page Cache by accessing each page once # wget --quiet http://www.example.com/sitemap.xml --output-document - | egrep -o "http://www.example.com[^<]+" | wget -q --delete-after -i -O -