root@piano.smb.net (Cron Daemon) Cron <root@piano> /root/bin/namazu.sh
-f: No such file or directory /root/bin/namazu.sh: /usr/local/bin/gcnmz: not found /usr/local/apache/share/htdocs/robots.txt does not exists at /usr/local/bin/mknmz line 2938. -f: No such file or directory /root/bin/namazu.sh: /usr/local/bin/gcnmz: not found /usr/local/apache/share/htdocs/robots.txt does not exists at /usr/local/bin/mknmz line 2938. -f: No such file or directory /root/bin/namazu.sh: /usr/local/bin/gcnmz: not found /usr/local/apache/share/htdocs/robots.txt does not exists at /usr/local/bin/mknmz line 2938. -f: No such file or directory
vi /usr/local/etc/namazu/namazurc-brm
Replace /usr/Backups/hotshot/mailman/archives/private/brm/ http://piano.smb.net/mailman/archives/private/brm/ Lang ja_JP.eucJP
mkdir /usr/local/var/namazu/index/brm
vi /root/bin/namazu.sh
#!/bin/sh /usr/local/bin/mknmz -q '--exclude=/usr/Backups/Hotshot/mailman/archives/private/brm/database/' -a /usr/Backups/Hotshot/mailman/archives/private/brm -f /usr/local/etc/namazu/mknmzrc -O /usr/local/var/namazu/index/brm/
実行のテストの時には -q を指定しない方がわかりやすい。
追加
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=EUC-JP">
編集
<-- <input type="hidden" name="idxname" value="foo"> --> <input type="hidden" name="idxname" value="brm">
vi /etc/crontab <= 設定ファイルの編集
00 03 * * * root /root/bin/namazu.sh <= 追加(backup完了後の時間指定)