From 048cae8a45503b416403a909c5ca031c8a5ba54a Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 8 Feb 2003 13:57:18 +0000 Subject: rm boards/d/deleted git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@651 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/sample/crontab | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pttbbs/sample/crontab b/pttbbs/sample/crontab index e7d0c957..3cf76fdc 100644 --- a/pttbbs/sample/crontab +++ b/pttbbs/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 -- cgit v1.2.3