Initial revision

This commit is contained in:
Ken Bowley
2001-08-17 05:46:24 +00:00
commit 40420d900a
750 changed files with 177485 additions and 0 deletions

28
script/midnight Normal file
View File

@@ -0,0 +1,28 @@
#!/bin/sh
#
# MBSE BBS Midnight - Should be run from cron at 00:00
#
# 26-Aug-1999 MB.
if [ "$MBSE_ROOT" = "" ]; then
export MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print $6}'`
fi
# While the system is on UPS battery power, don't start maintenance
#
while [ -f $MBSE_ROOT/sema/upsalarm ]; do
sleep 60
done
# Rollover statistic counters.
#
$MBSE_ROOT/bin/mbfido roll -quiet
# Log "What's on Hold"
#
$MBSE_ROOT/bin/mbout stat -quiet
# Export messages "missed" by the fast mailscan
#
$MBSE_ROOT/bin/mbfido scan -full -quiet