From 718bdb1220c5fc2185977ae6a2745668d6ee279c Mon Sep 17 00:00:00 2001 From: daflyinbed <1677759063@qq.com> Date: Tue, 30 Apr 2024 18:16:19 +0800 Subject: [PATCH] feat: add script --- maintenance/purge.sh | 1 + maintenance/sitemap.sh | 1 + 2 files changed, 2 insertions(+) create mode 100644 maintenance/purge.sh create mode 100644 maintenance/sitemap.sh diff --git a/maintenance/purge.sh b/maintenance/purge.sh new file mode 100644 index 0000000000000..cc63088578ec5 --- /dev/null +++ b/maintenance/purge.sh @@ -0,0 +1 @@ +php maintenance/purgePage.php < etc/purge_pages.txt > /usr/local/var/log/php/purge.prts.log diff --git a/maintenance/sitemap.sh b/maintenance/sitemap.sh new file mode 100644 index 0000000000000..13cd028b38d14 --- /dev/null +++ b/maintenance/sitemap.sh @@ -0,0 +1 @@ +php maintenance/generateSitemap.php --fspath=sitemap/ > /usr/local/var/log/php/sitemap.prts.log