欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

cron_ykt_cron.sh

#!/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://ykt.aaaaa.com/cron.php?cron_key=aaaaHsSyCSJGbbbbbbpagfMQk0

#

# use the sitemap and reload the Page Cache by accessing each page once

#

wget --quiet http://ykt.aaaaa.com/sitemap.xml --output-document - | egrep -o "http://ykt.aaaaa.com[^<]+" | wget -q --delete-after -i -O -



普通分类: