summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-08 21:57:18 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-08 21:57:18 +0800
commit1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24 (patch)
tree6d073a871b5db62db3f85c4e772b5922c3422e44
parentd1a5cfa585e152a385d37b7c3859e0948d446ab6 (diff)
downloadpttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar.gz
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar.bz2
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar.lz
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar.xz
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.tar.zst
pttbbs-1d568fe4bc5da1cc9a8f3f703fcdc0ac346d3a24.zip
rm boards/d/deleted
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--sample/crontab3
1 files changed, 3 insertions, 0 deletions
diff --git a/sample/crontab b/sample/crontab
index e7d0c957..3cf76fdc 100644
--- a/sample/crontab
+++ b/sample/crontab
@@ -43,6 +43,9 @@
# 每天執行一次生日程式
1 2 * * * bin/birth
+# 每星期二五砍掉 boards/d/deleted
+20 6 * * 2,5 /bin/rm -rf boards/d/deleted; mkdir boards/d/deleted
+
# 除每月一號整個重新計算精華區, 其他都只在星期二, 四, 六算有更動過的
# 計算前先砍掉 deleted的精華區
20 6 * * * /bin/rm -rf man/boards/d/deleted; mkdir man/boards/d/deleted