[go: up one dir, main page]

File: dwww.cron.daily

package info (click to toggle)
dwww 1.10.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 676 kB
  • ctags: 261
  • sloc: perl: 2,774; ansic: 1,507; makefile: 153; sh: 130
file content (19 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# $Id: dwww.cron.daily,v 1.16 2006-05-30 18:56:45 robert Exp $
#
# This housekeeping shell script is installed as /etc/cron.daily/dwww.
# Cron automatically runs it once a day.
#
# This script re-builds the dwww web pages, and removes old documents
# from the cache that have not been accessed for some number of days.

# check if dwww is still installed
test -x /usr/sbin/dwww-build || exit 0

set -e

dwww-refresh-cache   > /dev/null
dwww-build --default > /dev/null
dwww-build-menu      > /dev/null

exit 0