|
Revision 1899, 0.8 kB
(checked in by moseley, 1 year ago)
|
Enable the daily full rebuild of the site.
|
| Line | |
|---|
| 1 |
# Where to send problems. Should be to devel list |
|---|
| 2 |
MAILTO=moseley@hank.org |
|---|
| 3 |
|
|---|
| 4 |
# Top level directory where the site is built |
|---|
| 5 |
ROOT=/opt/swish |
|---|
| 6 |
PATH=/usr/local/bin:/usr/bin:/bin |
|---|
| 7 |
|
|---|
| 8 |
# Reindex the archive if a new message has come in |
|---|
| 9 |
8,15,37,45 * * * * rm time_to_index 2>/dev/null && $ROOT/swish_website/index_archive.sh $ROOT |
|---|
| 10 |
|
|---|
| 11 |
# Check for updates during the day and reindex site |
|---|
| 12 |
# Defaults to http://swish-e.org |
|---|
| 13 |
33 * * * * $ROOT/swish_website/build.sh $ROOT |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
# Create the daily tarballs |
|---|
| 17 |
0 20 * * * $ROOT/swish_website/bin/swish-daily.pl --topdir=$ROOT/swish_daily_build --tardir=$ROOT/swish-daily || echo "Problem building swish-daily" |
|---|
| 18 |
|
|---|
| 19 |
# Once a day rebuild the entire site. Should be done soon after |
|---|
| 20 |
# Should be done soon after the daily build so the daily is included in the website |
|---|
| 21 |
15 20 * * * $ROOT/swish_website/build.sh $ROOT -all |
|---|