Changeset 1893 for swish_website/README
- Timestamp:
- 02/06/07 19:50:33 (2 years ago)
- Files:
-
- swish_website/README (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
swish_website/README
r1891 r1893 235 235 -c hypermailrc \ 236 236 -d $ROOT/archive.new \ 237 && mv $ROOT/archive $ROOT/archive.old \ 237 238 && mv $ROOT/archive.new $ROOT/archive 238 239 … … 393 394 4) reindex when new archives messages have been added 394 395 395 396 8,15,37,45 * * * * . $HOME/.bashrc && rm time_to_index 2>/dev/null && cd swish/search && perl index_hypermail.pl ../archive | swish-e -c swish.conf -S prog -i stdin -v0 397 33 3-19 * * * . $HOME/.bashrc && cd $HOME/swish/swish_website && ./build.sh 398 55 1 * * * . $HOME/.bashrc && swish-daily.pl --tardir=$HOME/swish/swish-daily --topdir=$HOME/swish/swish_daily_build || echo "Check Swish Daily Build" 399 20 2 * * * . $HOME/.bashrc && cd $HOME/swish/swish_website && ./build.sh -all 400 396 See etc/crontab 401 397 402 398 … … 404 400 -------- 405 401 406 TODO407 402 408 403 Procmail is used to look for email messages from the swish-e list. … … 411 406 know that the archive needs to be re-indexed. 412 407 413 # ===== Debugging Settings ======== 414 415 # Set log file location 416 LOGFILE=$HOME/procmail.log 417 418 # Set on for debug -- Extended diags 419 # Options: VERBOSE=off|on 420 VERBOSE=off 421 422 423 # Writes From_ and Subject, deliver folder, and length if on 424 # Options: LOGABSTRACT=all|no 425 LOGABSTRACT=all 426 427 SHELL=/bin/sh 428 HYPERMAIL=/home/bmoseley/local/bin/hypermail 429 ARCHIVE_DIR=/home/bmoseley/swish 430 FILENUM=`/bin/date -u +%Y%m` 431 432 433 :0 434 * ^TOusers@lists.swish-e.org 435 { 436 # chdir to the archive directory 437 MAILDIR=$ARCHIVE_DIR 438 439 # Save the archived mbox message 440 :0wc: 441 | gzip -c >> mbox/swish_$FILENUM.gz 442 443 # update the hypermail archive 444 # This probably should be done with cron, not when the mail comes in. 445 :0wc 446 | $HYPERMAIL -i -u -c hypermailrc -d archive 447 448 # Set flag that it needs to be indexed 449 :0ih 450 | touch $HOME/time_to_index 451 } 452 453 :0 454 ! moseley@hank.org 455 456 408 See etc/procmailrc 409 410 ln -s $ROOT/etc/procmailrc .procmailrc 411 412 413 ============================= NOTE ==================================================== 457 414 458 415 Note: Sat Feb 3 20:36:10 PST 2007
