Show
Ignore:
Timestamp:
02/06/07 19:50:33 (2 years ago)
Author:
moseley
Message:

Updates for automatic processing -- daily builds, etc.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • swish_website/README

    r1891 r1893  
    235235                    -c hypermailrc \ 
    236236                    -d $ROOT/archive.new \ 
     237            && mv $ROOT/archive $ROOT/archive.old \ 
    237238            && mv $ROOT/archive.new $ROOT/archive 
    238239 
     
    393394        4) reindex when new archives messages have been added 
    394395 
    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 
    401397 
    402398 
     
    404400-------- 
    405401 
    406 TODO 
    407402 
    408403    Procmail is used to look for email messages from the swish-e list. 
     
    411406    know that the archive needs to be re-indexed. 
    412407 
    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 ==================================================== 
    457414 
    458415Note: Sat Feb  3 20:36:10 PST 2007